Textbox Validations |
Depending on the input expected from your visitor, you can add different types of validations to the textbox. When you select a textbox element from the left side element tree in the input validations page,a tabbed box containing the textbox validations are shown on the right side.
Basic ValidationsRequired FieldThe visitor must provide input to this field
Input Type
The following types are supported:
Only English alphabetic characters allowed.
English alphabetic characters and numeric characters allowed.
For both the types above, no spaces are allowed by default; if you want to let spaces, then select the 'Allow spaces' checkbox.
Only numbers allowed.(examples: 23.14 -1000 1000.00 1,000,000 )
Validates the input for an email pattern SizeYou can limit the size of the input using the size validations. In order to enable a validation, select the checkbox next to it.
The maximum number of characters that the input can contain.
The minimum number of characters that the input should contain.
The input value should be greater the given value. ( The input type should be Numeric )
The input value should be less the given value. ( The input type should be Numeric )
ComparisonsIt is quite often required that you want to validate by comparing the values of the input fields. You can add comparison validations in the 'Comparisons' tab. The left side in the comparison tab has a listbox that will contain all the comparison validations. There are buttons for adding and removing the comparison validations in the right bottom side.
'Add' button
Remove
PatternThis validation could be used if you are expecting a fixed pattern in the input (like phone number, SSN etc) In addition, the pattern validation could be used to limit the allowed/disallowed characters. The pattern matching requires a coded string known as 'Regular expression'.
Make Pattern
Select from List
|