Urgent ! Running Lotus Script Agent from Web

I am trying to run a Lotus Script agent from a web form. It is not trigeering consistently. It triggers for four or five times and then it will not trigger. Then I close the browser and log back in then it triggers. Here is how I am calling it from the web form.

On the web form I have action hotspot called

ForwardHistory. It is not hidden from web or notes. The formula it executes is

@Command([ToolsRunMacro];“SaveForwardingHistory”)

There is a button on the form that has the following javascript:

document.all.ForwardHistory.onclick();

The code should trigger the agent behind the hotspot. Sometimes it does not.

Any ideas as to why it fails to trigger sometimes?

Thanks for all the help

Subject: Urgent !!! Running Lotus Script Agent from Web

read or edit mode?It might not work in read-mode if you do not have “generate HTML for all fields” on your form.

Greetings Kris