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 add a hidden value to a dropdown?

    Asked by rintie on August 08, 2014 at 06:32 AM

    This question has been asked before but didn't provide the correct awnser so I had to ask it again. I'm building a form to calculate a price (just calculation no payments). I wanted to add a dropdown menu to select what kind of package they want. Example: basic is $10 and pro is $50. But if I'm making a form like that I have to add the value to the options and it will look like this:

    Select your package
    o Basic 10
    o Pro 50

    The prices should now be visible. It should look like this

    Select your package
    o Basic
    o Pro

    So how can I add a value to a dropdown or radiobox for a calculation without displaying it?

    hidden prices select and
  • Profile Image
    JotForm Designer

    Answered by omer on August 08, 2014 at 07:58 AM

    Hi rintle,

    Unfortunately, this is almost impossible. However, you can use radio buttons for your task.

    If you need any further assistance, please let us know.

    Have a good time.

  • Profile Image

    Answered by rintie on August 08, 2014 at 08:20 AM

    Too bad. Isn't it possible in any way, maybe hide the text in the code by making the number part white (same as bg) or to set display to hidden?

  • Profile Image
    JotForm Designer

    Answered by omer on August 08, 2014 at 08:30 AM

    Hi,

    This is not related to JotForm, capability of styling dropdown menu values in CSS is too limited.

    If there is another topic that I can help you, please let me.

  • Profile Image

    Answered by rintie on August 08, 2014 at 08:40 AM

    I see. Thank you for your insane fast help.
    Have a good one.

  • Profile Image
    JotForm Support

    Answered by david on August 08, 2014 at 11:29 AM

    hi,

    You actually can add a customer calculation value to a dropdown without displaying it.  Click on the field you wish to change the calculation value of and then click on the little gear to open up the settings.  From there you can assign a value to each option in the dropdown:

    These will not be shown in the form but you can use them to pass values to a custom calculation field:

    http://www.jotform.com/blog/97-Introducing-Field-Calculations-for-Forms

    Please let us know if you have any further questions and we will be happy to help.

    Thank you for using JotForm!