if ok=“1” there’s no problem, if ok=“2” i wish not save the document but i don’t know how. I try with CONTINUE= FALSE and with END but don’t seems correct.
Continue is a parameter of the QuerySave subroutine of a Notes form only. There is no direct equivalent.
To keep a document from being saved from the web, set the document’s SaveOptions item to “0”. This requires, that the field SaveOptions is actually on the form (!) and that the database option to use JavaScript when generating pages is checked.
Also note, that there is no need to redirect the user via client site JavaScript. Simply print the target URL and include it in square brackets.