• Resolved vinayak0071

    (@vinayak0071)


    I want to redirect to another page and I want to pass the form values to that redirected page.

    How can I pass values to another page?

    Please help me with this as soon as possible…

Viewing 1 replies (of 1 total)
  • Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hello @vinayak0071,

    There is no option to pass values from the submitted form. Though this can be achieved by using our response hook. Please configure the redirect URL from Form Dashboard->General Settings.

    Then you can attach the data with the configured URL using our response hook. Here is the sample code:
    add_filter(‘erf_ajax_before_sub_response’,’after_sub_response’);
    function after_sub_response(response){
    $response[‘redirect_to’] = ‘URL with additional data’; // Your custom logic
    return $response;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘How to redirect to another url along with the form values?’ is closed to new replies.