Load session-data into form

teazmo 21 Jan, 2016
Hi guys,
I've created a form with multiple pages: Page1 contains the form to fill in name and address, page2 is like the overview of what was written on page1 and page3 holds a form to edit the information. The user is not logged in and nothing is stored to a database, so all information is saved to a session. Problem 1: The user can‘t simply go back to page 1 after checking the information because I use a multiplier on page1 and the multiplier always starts with one field after reloading the page, so data of the other fields is lost.

If I use a third page, how can I populate a form field with session-data? Can I use Chronoforms HTML-output or do I have to create custom input-tags to show sessiondata in input-fields?

Thanks,

Timo
GreyHead 21 Jan, 2016
Hi Timo,

The MultiPage action or the Session to Data + Data to Session actions will save and retrieve data from the session.

At the moment I haven't worked out how to re-set a multiplier on reload though - I'm sure that it is possible just haven't had the time to work out the code.

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