ESRI.ArcGIS.ADF.Tasks
InputValidationMode Property
See Also  Send Feedback
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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.