ESRI.ArcGIS.ADF.Tasks | |
InputValidationMode Property | |
See Also |
ESRI.ArcGIS.ADF.Tasks Namespace > FormEntry Class : InputValidationMode Property |
Visual Basic (Declaration) | |
---|---|
Public Property InputValidationMode As InputValidationMode |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public InputValidationMode InputValidationMode {get; set;} |
Validation may be set when the task is configured, either in Visual Studio or in Manager. Each form entry item may have validation applied separately.
Three values for this property may be set:
- None: no validation of user input will occur.
- Range: the value entered by the user must be at least the RangeValidationMinValue, but no greater than the RangeValidationMaxValue. The RangeValidationDataType must also be specified to ensure correct evaluation in the validation.
- RegularExpression: the value entered by the user must match the RegularExpression value. Any valid regular expression may be used. Regular expressions provide powerful means for checking that the value entered meets specific criteria. Examples check for format of items such as e-mail address, telephone number, or date. Regular expressions can also check the length of the value entered. See online or text references for common regular expressions.