Creating an Edit Form?

awethumb 06 Mar, 2010
I have been searching for instructions to create an edit form.
The form would edit individual records that have been submitted to the database.
The original form is a multi step form.

Is there a step by step tutorial or thread that I am missing?

I see that if the id is set that it will automatically update the info rather than insert?
Will this also populate the data, or will I need to do this with php?
GreyHead 06 Mar, 2010
Hi awethumb,

The profile plugin will let you do this with a single-page form.

I've never tried using the plugin with a multi-page form though.

There are two other choices I can see. Either way you are going to need to make sure that the form sets the values of each input from a 'results' array.

You could either load all the info into step 1 and put the items for the later stages into hidden inputs - ChronoForms will them carry them forward to the later steps in the $posted array; or you could look up the info for each page at the beginning of that page. As I write I think I would try the first approach as it feels more robust.

Bob
This topic is locked and no more replies can be posted.