when u submit the form post all data to nex form with action preview.
there u will get data with respective field.
then set variable for each field and then display it where u want.
and submit of "preview " action save all data in db.

hope this logic will work

Anand
(cake backer)
www.oncosys.com

On Feb 21, 12:10 pm, JPM <[email protected]> wrote:
> I have this registration form (user/add/) that allow users to add
> username, contact info and info about themselves. It works well and
> all when I want to submit it directly to the database, but now I want
> to add another step in there, a Preview.
>
> Here's the flow:
> 1. User is presented with a form (say user/add/) to add name, contact
> info, description about themselves, etc.
> 2. When they are done filling in the info, they click a Preview
> button
> 3. It bring them to a Preview page where they can see what they added
> and then they can choose to click the Edit or Publish button
> 4. Pressing Edit would return to the form for changes and pressing
> Publish will then submit to the database
>
> What's an approach for this? I am thinking of creating a Preview
> function in the controller which the form action points to but now am
> stuck as to how to grab the form data and display them.
>
> Any help will be helpful. Thanks!

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to