What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How to mirror a field value to a hidden field?

    Asked by olympusmath on October 23, 2012 at 10:53 AM

    It has been established by this thread/support (http://www.jotform.com/answers/135018-How-do-I-map-drop-down-fields-in-my-JotForm-to-Salesforce) that you can't map jotform drop down fields to salesforce.


    I have potential work around but need to know if that is possible.

    Let's say a user selects an option via drop down/radio on a jotform.  Can that value be mirrored to a hidden field (which would be a text box)? So basically then you can push that hidden value field to salesforce.


    Page URL:

  • Profile Image
    JotForm Support

    Answered by EduardoMendez on October 23, 2012 at 01:04 PM

    Hi there,

    Here is a guide on how to pass the values through URL.

    What comes to mind would be redirecting the user to form 2 after submission (custome URL Thank You option).

    You can prepopulate the fields through URL and have the user confirm the answers and press submit again. Integrating to Salesforce.

    Please give it a try and thank you for the workaround! 

  • Profile Image

    Answered by olympusmath on October 23, 2012 at 02:12 PM

    I was already thinking of that but...it would be great if you all allowed mirroring of values


    I will try this out.  This just means that I get double submissions though :(

  • Profile Image

    Answered by olympusmath on October 23, 2012 at 03:26 PM

    This option does not work well.

    http://form.jotform.us/form/22566880225154 this redirects to

    see this http://form.jotform.us/form/22966120155147?yourRole={role}

    I can put the above dynamic link on a thank you page but then it will require another click and then another click to submit that page.



  • Profile Image
    JotForm Support

    Answered by NeilVicente on October 23, 2012 at 03:50 PM


    Would the solution used in the example below fit your requirement?

    Click Me

    It requires embedding the form using Source though. If you're okay with that, let me know and I'll lay out the instructions for you.

    By the way, the text box can be hidden via custom CSS injection.

  • Profile Image

    Answered by olympusmath on November 15, 2012 at 10:34 AM

    Hi Neil,

    This answer went to my spam so I apologize for not responding.  This solution will work.  I would love the instructions.



  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 15, 2012 at 05:54 PM


    Assuming that your form already has a dropdown and a text box , simply follow the instructions below:

    1.  Get your form's source codes: https://www.jotform.com/help/104-How-to-Download-a-Source-Code-of-your-Form

    You will only need to copy the codes. There is no need to download the source files.

    2.  Copy this script and paste it to your form's source codes, below everything else

    3.  Find the ID's of your drop down and text box fields

    In my example, the fields' IDs are input_4 and input_12, respectively.

    4.  Replace the ID's on the script with those of your fields'

    5.  Embed the modified form source codes to your website

  • Profile Image
    JotForm Support

    Answered by NeilVicente on November 15, 2012 at 05:59 PM

    By the way, if you need to hide the textbox, inject the following CSS codes to your form before proceeding with the solution on my previous post:

    #id_[number] { display:none }

    Replace [number] with the number value in your text box input ID.


    Should you need more help on this topic, please do not hesitate to ask.