How will you know whether the input entered by a user in a textbox is alphanumeric, number, or string? I request a user to enter a number in a textbox and I wish to trap those users entering alphanumeric or strings. How can I do this?
Everything that was just done is this:
1. User cannot enter anything except for 0123456789 from both the numbers above keyboard and numpad, or alphanumeric which is all letters small and caps, and integers.
2. a user cannot submit the form unless controlname is not null or empty.
3. If controlname is null or empty, it will post a red star infront of the textbox.