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

    Show fields value instead of name of option.

    Asked by Kgr0up on May 15, 2017 at 05:47 PM

    I have several fields like this, the persos chooses how many box lunch he wishes to add (1 to 5) and each option has a different value considering:

    1 box lunch = 15
    2 box lunch = 30
    3 box lunch = 45
    and so on

    I would like to be able to show either on a Summary at the end of the fiels, or at an email, the option ant the value, for example:

    You have chosen to add 2 box lunch, for a total of $30.00 USD

    Where 2 is the option and "30" is the value

    Is there a way to do this?

     

     

  • Profile Image
    JotForm Support

    Answered by Kevin_G on May 15, 2017 at 08:25 PM

    You could not get the option value, but you could follow this workaround. 

    First, add a Form Calculation widget to your form, this will help you to capture the option's value only and still display the option name in the drop down. 

    Add the drop down field and you will then capture the field's value: 

    You will need to get the Form Calculation widget name in order to display its value, this can be then used in a text field. 

    This guide will help you getting the field's name: https://www.jotform.com/help/146-How-to-find-field-IDs-and-names 

    You can see the result on this form: https://form.jotformpro.com/71347601941959 

    Hope this helps.