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 can I generate text & numerical drop down output from the same user selection & display the outputs in separate calculation fields?

    Asked by Andrew1294 on February 02, 2015 at 12:27 PM

    In other words, I would like to have my users to choose 1 answer from a drop down and have 2 outputs each sent to a different calculation field.

     

    Example:

     

    Drop down choices:

    1 Bedroom                                                                     40

    2 Bedrooms        --> Output text "2 Bedroom" to            80        --> Output number "80" to

    3 bedrooms                Calculation field A                       100             Calculation field B 

    4 bedrooms                                                                   120

     

    For the above example, selecting "2 Bedrooms" outputs (1) the text "2 Bedrooms" to one calculation field & (2) the number "80" to another calculation field.

    Selection same different choices
  • Profile Image
    JotForm Support

    Answered by Welvin on February 02, 2015 at 01:17 PM

    Hi,

    For adding the a text, you can do it by adding an 'update a field value" conditional logic:

    https://www.jotform.com/help/268-How-to-Insert-Text-or-Mathematical-Caculation-into-a-field-using-a-Condition

    When adding the update to a field value logic, make sure to check the "Add field to equation as text by default." option first before adding the value in the equation area:

     

     

    For the numeric output, you can directly use the calculation widget. You can add a calculation values for each option in the dropdown field:

    Properties > Show Properties > Calculation Values:

     

    Example: http://www.jotformpro.com/form/50325100358948.

    Let us know if you need further assistance.

    Thank you!