ESRI.ArcGIS.ADF.Tasks
InputValidationMode Property
See Also 
ESRI.ArcGIS.ADF.Tasks Namespace > FormEntry Class : InputValidationMode Property




The type of validation to apply to the user input for this form item.

Syntax

Visual Basic (Declaration) 
Public Property InputValidationMode As InputValidationMode
Visual Basic (Usage)Copy Code
Dim instance As FormEntry
Dim value As InputValidationMode
 
instance.InputValidationMode = value
 
value = instance.InputValidationMode
C# 
public InputValidationMode InputValidationMode {get; set;}

Remarks

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.

See Also

© 2010 All Rights Reserved.