VBScript interface
The VBScript interface AutoCapture server provides the ability to extend the functionally of otherwise static forms by allowing custom VBScripts to be executed on the server at run time. You can create scripts to update form field values and perform any necessary form field validation based on any available run-time data.
The VBScript interface has the following events and objects.
Event | Description |
---|---|
Form_OnLoad |
This event occurs before a form is displayed. |
Form_OnValidate |
This event occurs when a form is open and the user attempts to submit it. |
Field_OnChange |
This event occurs when a List or Boolean field value on the form has changed. |
Field_OnValidate |
This event occurs when a when user attempts to set a new value for a List or Boolean field on the form. |
Button_OnClick |
This event occurs when a when user clicks a button field on the form. |
Event | Description |
---|---|
Form Object | A Form object provides fields for user entries. RRTs access field values in a workflow. |
Fields Object | A Fields object provides a container object for fields in a form. |
Boolean Field Object | The BooleanField object accesses information for a Boolean field in a form. |
Data Field Object | The DateField object accesses information for a date-time field in a form. |
Label Field Object | The LabelField object accesses information for a label field in a form. |
List Field Object | A ListField object provides fields for user entries. RRTs access field values in a workflow. |
Number Field Object | The NumberField object accesses information for a numeric field in a form. |
String Field Object | The StringField object accesses information for a string field in a form. |