Page display error shows after submitting a form

When I press the "Submit" button in the form, the error "Page cannot be displayed" appear on the Web. May I know the correct way to implement this? I've already written some scripts for that button.

You won't be able to run LotusScript code from a button over the Web as you can in a Notes client. Generally speaking, you can code your submit button in one of two ways:

  1. Enabled the "" database option and then se the @Command([FileSave]) formula language command followed by the @Command([FileCloseWindow]) command.
  2. Use JavaScript in the onClick event of the button to submit the form Something like:
    document.forms[0].submit();

This was first published in April 2002