Scripting the onClick Handler
To process the form on the server end, add script to the onClick Handler handler of the Form elements. To do this, open the Form in Style Studio, and follow the steps below:
1. Select a form element to which you want to add an 'onClick' script.
Note: This is the server-side 'onClick' handler, not the client-side 'onClick' handler described in Creating a Form. You can also edit the server-side 'onClick' handler from the Style Studio Properties panel.
You can add 'onClick' script to any Form element. (If you add 'onClick' scripts to multiple elements, all of these scripts are executed when the form is submitted, and all have access to the same set of form values.)
2. Right-click the Form element, and select 'Script' from the context menu. This opens the Script Editor.
3. Select the onClick tab at the top of the Editor.

4. Enter the commands to be executed by the report server when the form is submitted. See Server-Side JavaScript below for more details.
| << 6.3.2 Processing a Form | © 1996-2013 InetSoft Technology Corporation (v11.4) | Server-Side JavaScript >> |