Use the Event Detail Properties dialog box to enter scripts that will be called when an event is triggered.
Below you will find sample scripts for each available event.
Warning: You should have a thorough knowledge of programming syntax and logic before adding scripts, and should test your scripts before you publish customizations. Malformed scripts can prevent the form from working correctly.