Support » Plugin: Gravity Forms Data Persistence Add-On » 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.


    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;


  • The topic ‘Multi-page Forms’ is closed to new replies.