On 2/23/07, lukemack <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> does anyone know of a tutorial regarding multi-page forms in cakephp?
> What I'm going to be doing is a form which allows the user to submit a
> review, then after the first page submit, they get a a registration
> form (only registered users can submit reviews). registered users can
> login there or maybe the second page would not appear for registered
> users. Page 3 of the form will show a preview of the review they are
> going to submit and a few checkboxes etc.
>
> can anyone suggest a good approach for doing this in cakephp? i'm just
> looking for a few pointers to get me started. i'm using the current
> stable release so won't have access to 1.2 functionality.
>
> many thanks,
>
> lukemack.

You might need to store the values in sessions or as hidden fields in
the forms themselves.  I think the sessions method is the least
kludgy, but it doesn't stop the problem of people messing things up by
using the back button.

Hope that helps.

-- 
Chris Hartjes

My motto for 2007:  "Just build it, damnit!"

rallyhat.com - digital photo scavenger hunt
@TheBallpark - http://www.littlehart.net/attheballpark
@TheKeyboard - http://www.littlehart.net/atthekeyboard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to