~~Exercise 1~~
This type of textbox should allow numbers of any type. This includes whole numbers and floating point numbers.
~~Exercise 2~~
For each input listed below, choose if you think it is valid or invalid for the Number Textbox above. Then click Submit to check all your answers.
~~Exercise 1~~
This type of textbox should allow whole numbers of only. It should reject floating point numbers and everything else.
~~Exercise 2~~
For each input listed below, choose if you think it is valid or invalid for the Whole Number Textbox above. Then click Submit to check all your answers.
~~Exercise 1~~
This type of textbox will allow any input provided a specific number of characters have been entered. This is useful where you require input of a specific length - an ID field for example.
In the textbox below I have decided that you have to enter exactly 7 characters. It should reject input where the number of characters is less than or greater than 7.
~~Exercise 2~~
For each input listed below, choose if you think it is valid or invalid for the Specific Length Textbox above. Then click Submit to check all your answers.
~~Exercise 1~~
This type of textbox will allow any input; i.e. numbers, characters, both. The only thing it will not allow is an empty textbox.
~~Exercise 2~~
For each input listed below, choose if you think it is valid or invalid for the String Textbox above. Then click Submit to check all your answers.
Fini