PROGRAMMING DOMINO FOR WEB APPLICATIONS


Examples: JavaScript events
1. This form onLoad event sets the value of the Status field to "open" when a document loads. It works in a browser and the Notes client.
2. This version of the onLoad event solicits a value for the Status field.
3. This Status field onBlur event prevents the user from exiting the field without entering "Open" or "Closed." It works in a browser and the Notes client.
4. The code shown in the last example could be placed instead in the onSubmit event. An action or hotspot containing the following @commands activates the code.
5. This function is placed in the JSHeader event of a form.
See Also