> navrc wrote:
Hallo,
I want to have two submit buttons (prev,next) for browse in DB on the form.
But I dnon't know how can I get in the flowscript which button the user
press.
For instance:
In your form:
<input type="submit" name="browse" value="browse-1" />
<input type="submit" name="browse" value="browse-2" />
In flow:
var browse = cocoon.request.getParameter("browse");
if (browse == "browse-1")
{
...
}
else
{
....
}
Thanks you for the replay.
Pavel Navrkal
--
Andre H. Juffer | Email: [EMAIL PROTECTED]
The Biocenter and | WWW: www.biochem.oulu.fi/Biocomputing/
the Dep. of Biochemistry | Fax: +358-8-553-1141
University of Oulu, Finland | Phone: +358-8-553 1161
Triacle Biocomputing | WWW: www.triacle-bc.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]