Creating an HTML button
Creating a functional HTML button entails inserting the HTML button element in the desired location in the report, specifying the text to display on the button, then programming the button’s action. You can place an HTML button in the report page, a grid, table, list, and cross tab.
How to create an HTML button
1  
2  
1  
In Name, type a different name for the element if you do not want to use the default name. Each HTML button must have a unique name.
2  
In Value, type the text to display on the button. Alternatively, select JavaScript Syntax or EasyScript Syntax to create an expression to display a dynamic or calculated value. Figure 22-3 shows an example of text specified for Value.
Figure 22-3  
3  
The HTML button appears in the report.
3  
4  
Figure 22-4  
5  
Write JavaScript code to program the button’s action for the selected event. The next section provides information about this task.
6  
Run the report in the web viewer to test the button’s functionality. If you do not receive expected results, or if you receive an error, check the event handler script for possible problems.

Additional Links:

Copyright Actuate Corporation 2012