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

    Assign A Value To A Drop Down Field?

    Asked by StudioBe on March 14, 2014 at 01:26 PM

    Anyone know if its possible to assign a value to a drop down field? For instance, I am trying to setup an auto calculation based on a drop down menu choice. However, the choices are not numbers. So if the customer chooses for example “option one” I want to calculate based on the assigned value to “option one”. Not sure if this would require an "if this, then that" style hidden field or if its possible at all. Let me know if anyone has done this. Thanks!

    style hidden choices thanks
  • Profile Image

    Answered by StudioBe on March 14, 2014 at 03:04 PM

    No one?

  • Profile Image

    Answered by Cesar on March 14, 2014 at 05:53 PM

    From what I understand, you are trying to make the type of calculation that will be performed dependant on the selection of the drop down menu.

    Here is an example form that displays the calculated fields depending on a selection. For Example Option 1 will multiply your inputted value to 2, while Option 2 will multiply it to 3. As we have assigned different values to calculate depending on the drop down menu value.

    Example Form: http://form.jotform.co/form/40726429383863?

    Kindly clone the form if neccesary.

    Do let us know if you need further assistance. Thank you.

  • Profile Image

    Answered by StudioBe on March 14, 2014 at 06:43 PM

    Thanks you very much, this is exactly what I am trying to do. However, my form is done and to complicated to re-do. Can you tell me how you achieved this? That way I can adjust my current form. Thanks!

  • Profile Image

    Answered by StudioBe on March 14, 2014 at 06:49 PM

    Never mind, I see how you did this with conditions. This unfortunately wont work for what I have in mind. Any other way to associate a drop down choice with a number? Thanks!

  • Profile Image
    JotForm Support

    Answered by BDAVID on March 14, 2014 at 11:40 PM

    Hi, you may try my example form, I guess this is what you are looking for, if yes this is how I set up the calculation:

     

    You may clone my form, hope this helps you, let us know if you have more questions.