I am trying to work out how to get different
pages being displayed from a CForm submission,
depending on different submission buttons...
For one submission buttton, I have:
<ft:form-template action="#{$continuation/id}.continue" method="POST">
...
<input type="submit"/>
</ft:form-template>
In the flowscript, this then results in a
form.save(document);
being attempted.
I would like to have a number of input buttons, and
depending on which is pressed, handle this in the
flowscript along the lines of:
if (buttonPushed == "btn1") {
cocoon.sendPage("test1")
}
if (buttonPushed == "btn2") {
cocoon.sendPage("test2")
}
and so on...
Is this possible and, if so, how?
Thanks
Derek
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]