PDFView4NET WinForms Edition
ValidateAction Property




O2S.Components.PDFView4NET.Forms Namespace > PDFField Class : ValidateAction Property
Gets or sets the JavaScript action to be executed for validating the field value.
Syntax
'Declaration
 
Public Property ValidateAction As PDFJavaScriptAction
'Usage
 
Dim instance As PDFField
Dim value As PDFJavaScriptAction
 
instance.ValidateAction = value
 
value = instance.ValidateAction
public PDFJavaScriptAction ValidateAction {get; set;}
public: __property PDFJavaScriptAction* get_ValidateAction();
public: __property void set_ValidateAction( 
   PDFJavaScriptAction* value
);
public:
property PDFJavaScriptAction^ ValidateAction {
   PDFJavaScriptAction^ get();
   void set (    PDFJavaScriptAction^ value);
}

Property Value

A O2S.Components.PDFView4NET.Actions.PDFJavaScriptAction object specifying the action to be executed for validating the field value.
Remarks
This property specifies a JavaScript action to be performed when the field’s value is changed. This action can check the new value for validity.
This action has no meaning for PDFPushButtonField, PDFCheckBoxField, PDFRadioButtonListField and PDFListBoxField fields.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFField Class
PDFField Members