PROGRAMMING DOMINO FOR WEB APPLICATIONS
The function executes whenever another event on the form (including a field, action, or hotspot) calls it, for example:
TestEvent("onLoad")