You can modify the standard behavior of a form by configuring it to respond to events.
Some of the things you can do by creating a dynamic form are:
- Add and remove fields.
- Change field contents (for example, load the contents of a list field from a database).
- Change form scan settings.
- Validate field contents before the document is scanned into the server.
- Open the Toshiba Unified Client properties dialog box if
it is not open already.To do this, either double-click the Toshiba Unified Client capture icon in a task or right-click the icon and click Properties on the shortcut menu.
- Expand a group or menu, click the form you want to edit, and then click Edit on the menu bar.To create a new form, click the group or menu and then click Add Form. See How to add a basic form.
- In the Dynamic Form options on the General tab, select the Enable Dynamic Form check box.
- In the Script Path box, enter the path to the VB.NET or
C# script that contains the code to respond to form and field events.
To Do this Use an existing script. Click the browse button (...). Edit a script Click the Edit Script Code button to open a script editor window.
For details about the script editor and the object model used to respond to create and handle events, click the help button in the script editor to view the Toshiba Unified Client Scripting Guide.
- Select check boxes next to form events that must be responded to.
Select check box To Form is loaded Raises an event every time the user enters the form. Form is submitted Raises an event every time the user presses Scan in the form.
- Select the Run as device logged in user check box if you need the script to run under the authentication
context of the logged on user.This option is only available if the group requires authentication and the configured authentication mode is Windows.CAUTION: Whenever possible, specify user names and passwords in your script. Use this option only in cases where you need to access a system that requires explicit identification. Use available .Net technologies such as encrypting to hide the passwords from view when editing the script.