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

    Pass drop-down field text value to a textbox

    Asked by tbawa on August 02, 2015 at 10:56 AM

    I have two drop lists on my form which are selectively shown based on radio buttons.

    As only one can be active I wanted to have a hidden field that takes the value from the active drop list (to be used in e-mail notifications,, reports, ...)

    Here is how it looks (for testing purposes I have made the hidden field called "Club" visible).

     

    I have defined conditions to do this but the problem is that the calculation widget seems to consider the drop lists a numeric field not a text field and I end up with 0 as club value. Here is one of the conditions:

     

    As can be seen in the screenshot the drop list field is considered numeric not text.

    How can I achieve what I want to do?

    Thanks

    Page URL:
    https://secure.jotformpro.com/form/52123513516950

    drop down text by default condition condition wizard
  • Profile Image
    JotForm Support

    Answered by Mike_G on August 02, 2015 at 01:06 PM

    It is because the value passed to the Club field is set to be numeric and not as a Text. You can set it as a Text if before adding it you check the (Please see image below) "Add field to equation as text by default." from the Show Advanced Options.

    Or you can just click the 0-9 portion from the tiles to change it to A-Z.

    Try it on the cloned form I have used for testing. http://form.jotformpro.com/form/52134728961964

    I hope this helps. Let us know if you nee any further assistance. Thank you.

     

  • Profile Image

    Answered by tbawa on August 02, 2015 at 08:42 PM

    Thank you so much - never occurred to me to just click on the field name in the calculation editor to toggle between "Text" and "Numeric".

  • Profile Image
    JotForm Support

    Answered by ashwin_d on August 03, 2015 at 02:04 AM

    Hello tbawa,

    On behalf of my colleague, you are welcome.

    Do get back to us if you have any questions.

    Thank you!