Run Lotusscript And @Formula Code From Javascript Events In The Notes Client
However, these events can only hold Javascript code. Lotusscript and
@functions can't be run directly from these events.
This technique allows you to run Lotusscript or @functions from a Javascript
event. It is very simple to use. It is especially useful in the onChange
event of a keyword field.
1. Create a button that holds your Lotusscript or @function code.
2. Go to the HTML tab of the Button properties dialog. Enter a name (like
myButton) in the Name field.
3. Go to the Javascript event handler (like onLoad) and enter the following
code:
document.forms[0].myButton.click()