Reinhard Poetz wrote:
--- Sylvain Wallez <[EMAIL PROTECTED]> schrieb:
Reinhard Poetz wrote:
Sylvain Wallez wrote:
Sylvain Wallez wrote:
Sorry to rain on the party, but the new widget
state stuff in CForms should make building multi-page forms a piece of
cake.
Off writing an example....

Done, I wrote my first wizard with CForms :-)

<snip/>
Thanks for your remarks. If nobody beats my, I'll try
to implement the wizard example by following your
ideas next week.
--
Reinhard

Take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=32169 where I have enhanced work of Jonas Ekstedt so that one can do the kind of things you asked for in the section about multi page forms in http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106672364131946&w=2.


So now it is possible to write CForms wizards by writing javascript FSMs in the form definition using widget states. Or if you prefer, by using flowscript back-button magic, and automatic selection of what is validated based on what widgets you use in your template. But in the later case you miss the joy of writing all the javascript event handling code ;)

/Daniel

Reply via email to