Since the Lotus Script will be running on the server, we can’t display message boxes on browser (which doesn’t support lotus script). You have send a new page to Browser with the messages.
Use print statements in lotus script to write an html page. For example, add this line to display the message “Thank you for your submission” :
Print “
Thank you for your submission
”
To provide instructions to a browser
For example, add this line to direct a browser to the Domino Web site:
Or you can display another form/page to display the results of your computation. Link to the main document can be given using $$Return field in this form.
if the page is generated by the agent, you can use the “onLoad”-Event in the body tag and call a Javascript function. So when the page is loaded, this function will be executed. The agent has to print this lines in the output html.
For Example:
function printMessage(){
alert ("Hello World");
}
NOTE: Syntax may differ, take a look at some javascript and HTML documentation.
I hope this will help you.
Manfred Miller