Yeah, the FormWizard is interesting, and does work. However, the
documentation is spotty, and the terminology is ... odd.
Ways = possible paths through your multi-page form. For example, say
you've got (like you said) a registered-members only review form. The
ways might be:
unknownWay = array('start');
registeredWay = array('review','recap');
unregisteredWay = array('register','contactInfo','review','recap');
Then, when going though, default to the unknownWay. The start() function
and view simply gives a login/pw form, with a second form consisting of
a 'Register me!' button. If the user chooses the Register Me path,
changeWay('unregisteredWay'). If there's a valid login,
changeWay('registeredWay'). Failing both of those, return false to
re-spit out the login form.
This component/helper does work with either 1.1 or 1.2, I've used it
successfully with either. Hope this helps, and ask if it doesn't...
Regards!
- Toby Parent
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---