Forums

multipage pagebreak click previous gives page expired error

chuanse 03 May, 2012
Hello,

I have made a multipage form which on itself is working fine.
For each page a event is made and ech event has the multipage action defined with unique session id.
The html actions are defined with session persistence.

a user fills in page one, clicks next and goes to page 2, fills in the fields, clicks next and goes to page 3... no problem so far... (there are 4 pages of fields and a fifth page with recaptcha, on succesfull recaptcha a mail is sent and a thank you message is displayed)

When a user clicks on the "previous" button the form data is lost, so I added data to session actions to all events/pages. That on itself did save the data to the session, but when a user clicks previous the form still appeared empty on that page. So I added session to data for all events/pages too.

When a user clicks previous the error page expired/resubmit is showed in the browser. A page refresh does show the correct data in the fields.

How can i get rid of the page expired error?

Thanks
GreyHead 03 May, 2012
Hi chuanse,

Do you have 'Republish' turned on in the Show HTML action (it is on by default)? That should re-load the data if the user goes back with a Previous button.

Bob
chuanse 03 May, 2012
Yes; republish data is enabled.

But that didn't work without session to data action...

I have no idea what to do...

The session to data and data to session actions are ok? And placed in the right order? (see screenshot post 1)
Max_admin 09 May, 2012
Hello,

You should not use the "data to session" and "session to data", the multi page action handles this stuff.

what type of button do you mean by "previous" ? the browser button ? I suggest that you add a link to previous pages in your form itself, however, the browser's back button works fine here.

Which browser do you use for testing ?

Regards,
Max
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
chuanse 09 May, 2012
Hi,

I am using the back button which can be enabled in the page-break element.
Using IE9 to test

J
chuanse 09 May, 2012
hmm, I did enable the keep-alive-session option... Maybe that is the problem...
chuanse 09 May, 2012
I am using the back button which can be enabled in the page-break element. => correction, this is an option in the submit button element...
This topic is locked and no more replies can be posted.