How to add a dynamic form
You can modify the standard behavior of a form by responding to events. Some of the things you can do by enabling 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.
- Click Common Group, then on the Add Form menu, click one of the forms.
- In form settings dialog box, 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 Samsung Script documentation.
-
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.