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;}
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.
This action has no meaning for PDFPushButtonField, PDFCheckBoxField, PDFRadioButtonListField and PDFListBoxField fields.
Requirements
Target Platforms: Windows 7, Windows 10, Windows 11, Windows Server 2022, Windows Server 2025
See Also