Forums

Editing previous information

bradolive 09 Apr, 2008
I haven't installed any form component/module yet and am impressed with ChronoEngine - my searches haven't found an answer to my question.

Is there a way for a registered user of my site to:

1) Retrieve previously submitted form - I would assume that we have to have their userid stored with the record and do a search - not sure how that is done with CE

2) Modify that information - or submit a new form with all of the previous information populated into their new form so they can edit it and modify it?

I'm not scared of coding, but want to pick a solution and go with it - any examples would be appreciated (of sites that have done this or even code would be great).

If I have missed a previous post or explanation please forgive me and point me at it.

Thanks!
GreyHead 09 Apr, 2008
Hi Bradolive,

The quick answer is 'Yes, you can do that'.

The longer answer is that you would have to do it, there's no code in ChronoForms that does it for you.

Set up a form save the info, including a userid, to a database table. When the user opens the form again check the database table to see if they are already entered, if so load the data.

It's not difficult, the form values probably need to be set in you php to be the most recent of the values in the table and $_POST so that the form data is maintained on refresh.

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