~~Exercise 1~~
This type of textbox will allow a whole number input provided a specific number of digits have been entered. This is useful where you require input of a specific length - an ID field for example where you want a whole number of a specific length - e.g. 1103245
In the textbox below I have decided that you have to enter a whole number of exactly 7 digits long. It should reject any other input.
~~Exercise 2~~
For each input listed below, choose if you think it is valid or invalid for the Specific
Length Whole Number
Textbox
above.
Then click Submit
to check all your answers.
~~Exercise 1~~
This type of textbox should allow date of various types.
~~Exercise 2~~
For each input listed below, choose if you think it is valid or invalid for the Date
Textbox
above. Then click Submit
to check all your answers.
Question
- Are the dates you entered into the textbox in English
or American
date format?
Question
- If you type the date 10:03:04
into the textbox above will it accept it. What if you type the same date 10:03:04
into Visual
Basic
- will it accept it?