My first web application is to be a simple one.I have this code behind a button. It is very simple. After the doc is saved, the words form processed is displayed. How do I jump to another form or page within the database using javascript?
var doc = document.forms[0];
if (doc.EMAIL.value == “” )
{
alert(“Please complete the form before submitting.”);
}
else
{
doc.submit();
}
Subject: Go to next page or form in Javascript
Chris,
Short of doing something with frames and posting in a hidden frame, then loading a new page in the visible frame, I don’t see an immediate solution to your problem.
Try instead to create a simple (one line is all it takes) WebQuerySave agent for your Domino form. If you write it in LotusScript, you can simply issue a print statement similar to:
Print “[http://somewhere.acme.com]”
The Domino server interprets the hard brackets as a redirect.
Alex
Subject: Go to next page or form in Javascript
Please search for $$Return in help6_designer.nsf.
Subject: RE: Go to next page or form in Javascript
Thank you.