After releasing an input report made in RAQ Report to web page, it will generate an submitting button on the toolbar automatically. Then, if users click this button, it will submit data directly without prompt.
However, some web report users may wish that a prompt box will appear after clicking the submitting button, and users can decide whether to submit data by clicking Ok or Cancel. With this prompt box, users can avoid incorrect manipulations.
Next, we will learn how to make a prompt box for data submitting in input report.
According to the general idea, the operations are as follows.
Step 2: Set the codes of submitting button
as shown below:
Find the codes of submitting button in toolbar.jsp.
< a href="#" onClick="_submitTable( report1 );return false;">< %=submitImage%>< /a>
< a href="#" onClick="firm()">< %=submitImage%>< /a>
Then, after modifying the JSP file, the input report will have a prompt box for submitting data.
With this method, we can use prompt box for data submitting in input report. This will make web report users convenient to submit data to database, and avoid error operation.