cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Fiol BonnĂ­n <>
Subject Re: CForms button clicks verses enter in IE
Date Thu, 09 Feb 2006 09:12:16 GMT
2006/2/8, Archie Cowan <>:
> We have a set of cocoon forms that are split into multiple pages by changing
> the widget state on a group of widgets that make up the different pages when
> buttons are pushed on the page. These are pretty much the same thing as the
> multipage example except it's not using the ajax feature at this time.
> Our testers have found an issue that seems to be only in IE where if they
> push enter to submit a form rather than clicking the "next page" button, the
> "next page" button logic is not executed. The showForm function in our flow
> exits which leaves us with incomplete data that we expect to receive from
> the form. In a non-cforms application we've solved this by setting
> javascript a listener to capture the enter event and clicking the default
> button for the user so the correct values of the form are sent.
> Has anyone else run into this issue? We're going to try our old solution but
> if there is a way that fits better with the CForms scripting we would rather
> use that.
> Environment:
> JBoss 4.0.3
> Cocoon 2.18
> Thanks for any advice,
> Archie

On the server, where you check whether the "next page" submit widget
has been used (javaflow, flowscript,...), if "no widget" has been
used, you can assume it's "next page", possibly unless you are on the
last page, where it means "Finish".


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message