Passing Info To Another Form With Parameters

By: Steven Hoodlebrink | Asked: 05/02/2025
ForumsCategory: How-toPassing Info To Another Form With Parameters
Steven Hoodlebrink asked 3 weeks ago

Hey all,

I'm newer to FF and have been looking at the documentation. I've set up a test with two simple forms with two input/text boxes - basically, first and last name.

In form 1 in the settings, I'm using the Redirect To URL method to send the user to the page with the second form. The redirect URL is this: example.com/test-2/?pass_entry=[key sanitize_url=1]. I've tried putting just [key] in the URL, but it overwrites the sanitize portion on save. I'm wondering if that is causing the information not to pass?

When the redirect happens, the entry key is in the URL, but when I use the shortcode: [frm-field-value field_id=1 entry=pass_entry], only the shortcode is showing in the input/text box that is on the 2nd form and not the text from Form 1. I do have that input box as read-only, does that cause an issue?

Am I doing this correctly, or is there a better method? My goal is I'm going to have a basic, name, email, phone number form on some landing pages. The user will fill out that basic information and then be sent to a longer form to request a quote and we want it to auto fill the basic contact information they submitted in the first form on the second one.

Thank you in advance for your help.

1 Answers
Rob LeVineRob LeVine Staff answered 3 weeks ago

It's not enough to use entry=pass_entry, since pass_entry is a parameter. You have to use [get param="pass_entry"]. That being said, I don't know if you can nest the get param shortcode in the frm-field-value shortcode so if you want to do it that way, you might have to write a custom shortcode to handle it. That being said, if you want the field in form 2 to have the value of the field from form 1, why don't you pass the actual value rather than the key to the entry? Security?

Steven Hoodlebrink replied 3 weeks ago

Hey Rob,

Thanks for the reply.

Honestly, it's not knowing how to achieve what I'm trying to do. I'm not so much concerned if the field data gets set within the URL parameters to pass them to the 2nd form.

I hadn't thought of creating a URL in the redirect portion like: example:com/test-2/?first_name=[1]&last_name=[2]

Since you've mentioned that, I did test it and it does work as expected.

Also, I did try the nested method you mentioned and came up with: [frm-field-value field_id=1 entry="[get param="pass_entry"]"], and it successfully passes the information to the 2nd form without having it in the URL.

I appreciate the insight, it helped me to get to the solution I needed. Again, a bit of ignorance on my part on not being very familiar with FF yet.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right