Adding a 'Clear' button to a Parameter Sheet
You can add a 'Clear' button to the parameter sheet to allow the user to clear the current selections. To do this, follow the steps below:
1. Drag a Button element into the parameter sheet in the desired location.
2. Right-click on the Button and select 'Properties'. This opens the 'Button Properties' dialog box.
3. (Optional) Select the Button tab in the 'Button Properties' dialog box. Enter the word “Clear” in the 'Label' field.
4. Select the HTML tab in the dialog box, then select the onClick sub-tab.
5. Enter the following script in the onClick sub-tab:
clear();

6. Press 'OK' to close the dialog box.
Note: The onClick script cannot be processed in Style Studio preview, but will function correctly when the report is viewed in the Portal.
The parameter sheet now contains a 'Clear' button. When the user presses the 'Clear' button, this clears the currently selected values in all parameter sheet input elements.
| << Walkthrough: Associating a Reusable Parameter Sheet with a Report | © 1996-2013 InetSoft Technology Corporation (v11.5) | Staged Parameters >> |