JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
Pass drop-down field text value to a textboxAsked 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?
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.
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".
On behalf of my colleague, you are welcome.
Do get back to us if you have any questions.