Assign A Value To A Drop Down Field?

  • StudioBe
    Asked on March 14, 2014 at 1: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!

  • StudioBe
    Replied on March 14, 2014 at 3:04 PM

    No one?

  • Cesar
    Replied on March 14, 2014 at 5: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.

  • StudioBe
    Replied on March 14, 2014 at 6: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!

  • StudioBe
    Replied on March 14, 2014 at 6: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!

  • David JotForm Support Manager
    Replied 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:

    Assign A Value To A Drop Down Field? Image 1 Screenshot 20 

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