Exact matches only
Search in title
Search in content
Search in posts
Search in pages

How to pass user input from one form to another?

There are cases in which you want to redirect users from one form to another. The two forms may contain common fields and you don’t want users to fill out the same information twice. This is where custom redirect URLs come in. Using them, you can pass information from one form to another easily.

The redirect URL can be specified in the SettingsThank You Page section, under Redirect with custom variables and provide the custom URL.

123FormBuilder custom variables

Important: Files uploaded through File Upload fields, Single/Multiple choice fields, Dropdowns, Likert Scales, Phone fields cannot be passed to another form.

Build your custom URL using the following example:
http://www.123formbuilder.com/sf.php?s=form-222222&customVars123=yes&control2323232=request1212121

The part that is highlighted remains unchanged and it is required for the custom URL to work. Copy the following structure into a text editor:

http://www.123formbuilder.com/sf.php?s=form-222222&customVars123=yes&control2323232=request1212121

pass user input between web forms in 123FormBuilder

Now, you will need to add your own information from your forms.

1. Replace 222222 (where it says form-222222) with the ID of the form where you want to redirect the user’s input. You will retrieve the ID in the URL or in the Publish – Get Link section of your form.

2. Replace 2323232 with the ID of the field where the value will be passed. In preview/view mode of your form, right-click on the input box and select Inspect Element. The ID is a set of numbers located next to “data id=”

123formbuilder find form field id

3. Replace 1212121 with the ID of the field from which the value will be retrieved. Retrieve it the same way as in step 3, only this time you’ll need to view the form from where you retrieve the value from the input.

You can have two have separate IDs if you have a name field or address field which contains multiple subfield. In this case you need to look at the data-index . For example,  at the name field you will be having: First Name – 1234567-1, Last Name – 1234567-2. Therefore, the right syntax will be &control1234567-1=request2222222-1&control1234567-2=request3333333-2. To add the initials continue by adding &control1234567-4=request2222222-4.

Add as many parameters as you need to.
e.g. control222222=request333333&control444444=request555555

25 comments

  1. Hello,

    I use both java script and iFrame to showcase your forms on my site. i was hoping that there was a way to transfer customer data from one form (if the customer choose that particular product) in an iFrame, to another form further down the web page. In a nutshell:

    Our customer will have the option to enroll in several benefits, all ala carte. If they enroll in the major medical, they will fill out a health questionnaire. The form for the health questionnaire takes every demographic from the customer that will be needed for the final complete product enrollment form. I would like to pass along the demographic information collected in the questionnaire to the final product enrollment form.

    To be clear, the customer will NOT be going from the questionnaire directly to the enrollment form. They will fill out the enrollment form after going through the website, looking at video’s, etc, for a full education of what is being offered.

    Is this possible some how? Thanks!

    1. Hello! We will need more details about your scenario. Since this is a complex request, please address your need of assistance to our Customer Care team. Get in touch with them directly from your account or from our Contact Page. They will be more than happy to assist you.

  2. I’d like to put the value of a drop-down selection straight into the redirect URL, similar to how I can output it into the HTML block with the [{xxx(###)}]. Do you provide a way to do that?

    I’d like to use that to control which ‘thank you’ page a user sees based on their selection, this would be a straightforward way to do that if I can directly request the value.

    1. Hello Shawn,
      If you want to redirect the users to a different page depending on the answers they give it is easier to use Conditional Logic for this. By going to Settings–>Rules you can redirect the users to the specific pages. If you need further support, be sure to contact us at support@123formbuilder.com

  3. Hi, i’m trying to pass customer variables to another 123 form. Both are hosted on my domain within wix. I tried changing “http://www.123formbuilder.com/sf.php?s” to my web address with the new form: “https://www.viranow.com/account-setup” and then appendid the rest. But it doesn’t work to carry the data over. When I try it with the 123formbuilder.com/sf.php?s, it does work to carry the data. Please help

    1. Hello Chuck,

      Thank you for reaching out to us.

      Indeed, for the Redirect with custom variables option, you will need to use the direct link of the second form, which contains 123FormBuilder.

      Whenever you need further assistance, please do not hesitate to contact us at support@123formbuilder.com.

      Thanks.

  4. hi

    when redirecting with custom vars in my form within a wix site, the frame suddenly becomes small and you cannot see the form and the color pallet changes to an ugly grey from the color pallet of my site.

    How can i redirect a form to another form and keep the frame size plus keep my site pallet?

  5. How to redirect to a custom url from a form with dynamic variables and how to pass custom data to the form? I need to pass user details to the form and get back after the quiz completed.

  6. Hi, I want a situation where once my form is completed, a copy of an eBook will be sent to the email they indicated in the form. Please advise me on how I can achieve that

    1. Hi Chris!

      Simply use the autoresponder feature and attach the eBook to the content of the message. To read more about our autoresponder feature, follow the documentation at http://www.123formbuilder.com/docs/how-can-i-add-an-autoresponder-to-my-form/

      To attach the eBook to the autoresponder message, follow our guide at http://www.123formbuilder.com/docs/can-i-attach-files-to-my-autoresponder/.

      For further assistance, don’t hesitate to contact our Support Team at support@123formbuilder.com or via our contact form.

      Thanks!

    1. Hello!

      Unfortunately, you cannot pass user input to your Wix store checkout page. If there’s an order form you want to create that will take form users to payments after submission, wouldn’t you want to try one of our payment gateways we are integrated with starting with our Platinum plan? We are currently integrated with 11 payment gateways, such as PayPal, PayPal Pro or Stripe. Moreover, we have many payment features: you can add coupon codes, markups and discounts to your forms. Not to mention the notifications you can create which will trigger an email to the buyer once the payment has successfully gone through.

      Here’s our payment gateways comparison page.

      To see what each plan has to offer, follow our features matrix page.

      To read more about the features we offer for order forms, consult our documentation here.

      If interested in an upgrade, have questions or need assistance, don’t hesitate to contact our Support Team at support@123formbuilder.com or via our contact form.

      Thanks!

  7. Hi, I’m trying to make a mock-up of an online store. I’d like users to be able to be able to specify options in a form on a wix using a combination of radio buttons, drop down menus etc and then use the values that they’ve selected to add that product to the basket. No actual buying functionality is necessary, just adding to the basket and displaying these products. Is this possible using a 123 contact form?

    1. Hello!

      With the Platinum plan, you can integrate your order forms with any of the payment gateway integrations we provide (e.g. PayPal). You can add checkboxes, radio buttons and dropdowns to your online order form, assign them prices and include them in calculations which will be sent to your merchant account on submit. Have a look in our documentation tutorial regarding complex order forms for a better overview: http://www.123formbuilder.com/docs/how-to-create-an-online-complex-order-form/

      Also, with our Payment feature, you can add a real-time payment summary to your form. This means the summary changes as the form users completes the form.

      Have a look at our payments documentation.

      Has this information helped?

      For more questions, don’t hesitate to contact our Support Team at support@123formbuilder.com

      Thanks!

  8. how do i enable users to complete multiple forms. Eg: tey compete a form to register 1 child then they want to register a 2nd child using another form. I don’t know how to redirect them to a refreshed form. All that happens is the notification that the registration has been sent.

    1. Hello Paula!

      Select the option Redirect to a web page in Thank You and Redirects. Next, provide the direct link to your form. You can find this link in Publish FormForm Link, under URL(Email, Messenger). Simply copy the link and paste it back in the Redirect to a web page input box. Follow more in our documentation here: http://www.123formbuilder.com/docs/how-to-redirect-users-to-a-web-page-after-submission/.

      For more questions or assistance, don’t hesitate to contact our Support Team at support@123formbuilder.com or via our contact form.

      Thanks!

  9. I’m reviewing my form after building a custom URL passing variables form the first form to the second form…after submission of the first form, a message saying something like “please wait for form submission”; after several minutes of waiting, the second form still never showed up…here is the URL I built…is it possible that it is incorrect…http://www.123formbuilder.com/sf.php?=1025535&customVars123=yes&control11025614=request8314591&control8315463=request8314592&control8314766=request8315474&contol8314594=
    request8315643

    1. Hello Leauretta!

      I have studied the URL you were using. It seems that you have missed the ‘s’ at sf.php?=. It’s actually sf.php?s=. Try now to add the line http://www.123formbuilder.com/sf.php?s=1025535&customVars123=yes&control11025614=request8314591&control8315463=request8314592&control8314766=request8315474&contol8314594=
      request8315643 in the Redirect with custom variables box, from SettingsNotifications. Hope this helped!

      For more questions or assistance, please contact our Support Team at support@123formbuilder.com

      Thanks!

  10. Hi, My form is not working well. my notification of form is not working well. i have problem with after sumit inquiry. it’s not redirect on orginal form

Leave a Reply

Your email address will not be published. Required fields are marked *

Frequently Asked Questions

Here is a list of the most frequently asked questions. For more FAQs, please browse through the  FAQs page.

Is this service free?
Yes, we offer a free form builder service. Just sign up to the Basic plan and you are all set. This plan is forever free, but you are limited with a few features only, such as 5 forms per account, 100 submissions per month and you have to keep the backlink to 123FormBuilder on your forms. Check out our features matrix for more information.
How many forms can I create?
It depends on the service plan you are on. Higher service plans enable more features, including more web forms for your account. If you need more forms, go to the My Account section of your account and click the upgrade button. To create an unlimited number of forms, either upgrade to the Platinum service plan or higher. Consult our features matrix for more information.
How can I publish my forms?
You can publish your forms in many ways, by using their direct URL or HTML link, embedding them with a JavaScript code, Inline HTML or iFrame, using the Facebook app or the WordPress plugin, using popups, the Blogger code snippet and many more. Once you have created and customized your form, go to the Publish section to complete your work. Read more in our documentation.
How do I change my form design?
You can change the design of your form in the Themes section, which is located in your form settings. We offer a set of more than 30 predefined form themes for your forms, but you can also create your own from scratch. You can customize the submit button, the logo and more. To apply your own stylesheets, all forms come with a custom CSS editor.

Can't find what you're looking for?