Multi-page Forms
-
Hi there,
For multi-page forms, the user is not taken back to the page they were on. I believe this should be a simple fix by adding the below on the pre_populate_form() function.
GFFormDisplay::process_form($form[“id”])
See below:
add_filter(“gform_pre_render”, “pre_populate_the_form”);
function pre_populate_the_form($form) {
if ($form[‘isPersistent’]) {
$option_key = getFormOptionKeyForGF($form);
if (get_option($option_key)) {
$_POST = json_decode(get_option($option_key), true);
GFFormDisplay::process_form($form[“id”]); //
}
}return $form;
}Thanks!
https://www.ads-software.com/extend/plugins/gravity-forms-data-persistence-add-on/
- The topic ‘Multi-page Forms’ is closed to new replies.