Is there a way to pass the calculated value of a check box to a dropdown?

  • Profile Image
    gamesdayparties
    Asked on June 05, 2019 at 02:03 PM

    Is there a way to pass the calculated value of a check box to a dropdown value (1,2,3,4,etc) further down the form? Such as checkbox1 is $20/person and further down a dropdown asks how many guests are coming so it multiplies checkbox1 to dropdown value to determine cost? Thanks.



    This is a re-post of a comment on How to Automatically Pass Form Data to Another Form

  • Profile Image
    Nik_C
    Answered on June 05, 2019 at 03:05 PM

    Yes, it is possible to do that, depending on your checkbox and dropdown values, but it would be something like below.

    I have here checkbox with options and Dropdown with options 1,2,3,4:

    1559761238Screen Shot 2019-06-05 at 8.59

     A condition to prepopulate would be:

    1559761425Screen Shot 2019-06-05 at 8.59

    So when the checkbox is selected and equal to Option1, number 1 will be inserted in the drop-down.

    Please check my test form: https://form.jotform.com/91556092395970

    Hope it helps.

    Thank you!


  • Profile Image
    jherwin
    Answered on June 06, 2019 at 07:22 PM

    You can duplicate the field and then assigned the labels to calculation value, see my screenshot below for reference:
    1559863122duplicate.png
    1559863137duplicatecalc.png

    After that, add a condition like this to your form:
    1559863292condition.png
    Then you can use the hidden field to show the labels of what the user chose.

    Please check my demo form here: https://form.jotform.com/91567781621969.

  • Profile Image
    gamesdayparties
    Answered on June 07, 2019 at 05:10 PM

    Awesome, while the checkbox option worked...  I changed it all around to single choice options and now the same method isn't working.  Can you see what I might be doing wrong here?  Thanks

  • Profile Image
    Mike
    Answered on June 07, 2019 at 07:30 PM

    Unfortunately, the same method will not work for the single choice fields with enabled calculation values.

    To make it work you will need to add a separate condition for each item, like this:

    and so on.