Text Box Field
A textbox is well suited for any field that requires user entry of a text value. There are several custom settings to determine how the field is displayed within the form:
Text Mode
The textmode selection list has three values, SingleLine, MultiLine, and Password. While they are self-explanatory, selecting MultiLine will bring up another textbox which will allow you to specify the number of rows of text to display.
Use Regular Expression Validation?
If you desire Regular Expression Validation to be used on this field, then you would type in the Regular Expression to validate for this setting. When an applicant enters a value in the field, if the value does not match the Regular expression an ASP.NET Validator control will be created directly following the Field, alerting the user to the invalid entry and preventing the form from posting until the invalid entry is fixed. Selecting this setting brings two more settings up that you must set.
If you use Regular Expression Validation on this field, you can also optionally show a tip to the user on the format they should use for the entered value. This setting will be shown as overriding the default text within the ASP.NET Validator control if this field is invalid.
Use Compare Validation?
If you desire Compare Validation to be used on this field, then you would type the FieldName of the Field To Compare against for this setting. When an applicant enters a value in the field named as the “FieldToCompare” , if the text entered in this field does not match that of the FieldToCompare an ASP.NET Validator control will be created directly following the Field, alerting the user to the invalid entry and preventing the form from posting until the invalid entry is fixed. This is necessary during password creation or other such critical fields
Use Range Validation?
Selecting this setting will allow you to specify the high and low values to require the entered value to be between.
Show Date Picker?
Selecting this setting will allow you to show the user a date and time picker textbox. The advantage here is that the format is already prepared for database use and is easy for the user to recognize. Date Pickers have four available settings:
DateTime – full date and time
Date – short date only
Time – time only
Date Calendar - shows a calendar for date selection