I. Overview
Web page events can be set in tabs [Paination Preview], [Data Entry Settings] and [Data Analysis Settings] in [Template]>[Web Attributes], which act on different preview methods respectively.
Take [Pagination Preview] as an example, select [individually set for this template], click the [+] button under the event settings to add events, as shown below:
II. Event details
1. Events included in all preview methods
Event | Trigger Time | Event Name |
---|---|---|
Start Loading | Triggered when the report page is just opened; if there is a parameter interface, it will be triggered when the query button is clicked | startload |
Loading End | Triggered when the report page is fully loaded | afterload |
Before PDF export | Triggered when you click [Export]>[pdf] | beforetopdf |
After PDF export | Triggered after the PDF file is exported | aftertopdf |
Before/after other export | Triggered after clicking the corresponding Export button or the other file is exported. | |
Before PDF printing | Triggered after clicking the PDF print button | beforepdfprint |
After PDF printing | Triggered after the print settings are done | afterpdfprint |
Other before/after printing | Triggered when the corresponding print button is clicked or after the print settings are done |
2. Unique events for data entry preview
Event | Trigger Time | Event Name |
---|---|---|
Before data entry | Triggered after clicking the submit button | beforewrite |
After data entry | Triggered after submission is done | afterwrite |
Data entry successfully | Triggered after successful submission | writesuccess |
Failed to data entry | Triggered after failed submission | writefailure |
After verification | Triggered after data verification occurs | afterverify |
Before verification submission | After clicking submit, triggered before verification | beforeverifywrite |
After verification submission | Triggered after the submission is completed, before the afterwrite event | afterverifywrite |
Before adding a row | Triggered after clicking the add record button | beforeappend |
After adding a row | Triggered after record is added | afterappend |
Before deleting a row | Triggered after clicking the delete button | beforedelete |
After deleting a row | Triggered after record is deleted | afterdelete |
Before excel import | Select an Excel and click OK to trigger | beforeimportexcel |
After excel import | Triggered after Excel is imported whether the import is successful or not | afterimportexcel |
Note: If a submission needs to be verified first, then the trigger sequence of events will be: before verification submission, after verification, before data entry, after verification submission, after data entry, data entry success/failure.