Gravity forms redirect form to other page with new form without submission

Hello

I am trying to create a multi page form on my website: https://s2.mhur.nl/

When I fill in this form you get redirected to a new page with step 2 of the form. I also have enabled the pass field data. But when I click on this button I want that the filled in data won’t be submitted. I want to pass the data to the next page with a other form and on that form when the user is clicking on the button the data need to be submitted to gravity forms.

1918efa9f0518019e6ba7373e5d98b38

Could someone help me out how I can fix this problem?

Greetings Frank

You’re probably best off to employ one of the methods here for removing the entry data after submission. Since you’re wanting to run through the submission in order to run the confirmation redirect, the entry will need to be processed and briefly saved. It could be removed immediately after, though. See Delete Entry Data after Submission.

Hey Joshua!

Thanks for helping me out :slight_smile:
So I added this code to my functions.php

// Target submissions from form ID  1.
// Change gform_after_submission_1 to reflect your target form ID, or use gform_after_submission to target all forms.
add_action( 'gform_after_submission_1', 'remove_form_entry' );
function remove_form_entry( $entry ) {
    GFAPI::delete_entry( $entry['id'] );
}

And it is actually working but how can I make sure that this filled date

Get submitted with my 2nd form on this page?
https://s2.mhur.nl/offerte-aanvragen-zonnepanelen/

So to make a summary, I want to skip the first submission button action with the data to the 2nd redirect page with the form. When the user press the submit button on this page the data from form 1 and 2 gets collected.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.