Forums

session keep alive on multip page form

jamodude 21 Jan, 2014
A browsed through the forums and could not find so, I am posting.

I have a 4 page multi-page form that is currently working great. The only issue I am having is with session data going away before being submitted.

To the best of my knowledge it would appear some people are getting stuck on page three of my form (probably because they have to go track down some emergency contact info), so by the time they complete page 3 and move on to page for and then submit the form, data entered (and validated) on pages 1 or 2 (specifically anything in dynamic drop downs) is empty. So the finale result is that only the data they entered on page 3 and 4 is making it to the database.

The other *related* issue is that if they are on page 3 or 4 and then hit back button, the browser complains and says the data needs to be reloaded and the data on the page is reloaded for all data EXCEPT dynamic drop down. All my dynamic drop downs are cleared out, but client side validation doesn't get flagged when they move forward through the form again so all that data is "blank" when they submit.

I have checked my form to ensure "Load Keep Alive" is set to "yes" in the "Show HTML" event on every form page and the "Multi Page" event is listed first on every page. Again, the form works great when you don't hit the back button and don't hang out too long (20 30 min) on a page.

What is the best way to ensure session data does not expire on multi-page forms?
jamodude 21 Jan, 2014
I forget to mention that this is a ChronoForms v4 install on Joomal 3.2
jamodude 27 Jan, 2014
I've been able to resolve most of the issues I mentioned in my original post EXCEPT for the data in dynamic dropdown. No matter what I try when the using click my "back" link (dirived from formname and cf_id) the data in the dynamic drop down is reset....every time. No matter weather it is 2 seconds or 15 minutes.

What am I missing? How can I ensure that when a user goes back to review a previous page the data in the dynamic drop down will still be what they had previously selected?
GreyHead 31 Jan, 2014
HI jamodude,

This isn't a session problem it is that the JavaScript to re-load the double-drop-down isn't included in the page. There's an example of a solution to this in this post.

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