Show fields value instead of name of option.

  • Kgr0up
    Asked on May 15, 2017 at 5: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?

    Show fields value instead of name of option Screenshot 20

     

     

  • Kevin Support Team Lead
    Replied on May 15, 2017 at 8: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. 

    Show fields value instead of name of option Screenshot 40

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

    Show fields value instead of name of option Screenshot 51

    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. 

    Show fields value instead of name of option Screenshot 62

    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.