Copy selected items in a product list and populate them in a dropdown list

  • Griffin
    Asked on November 1, 2022 at 8:46 PM

    Hi! I am trying to take a selection from a product list and use the selected values to populate a dropdown list, so that if a user selects three products then those three products will appear in a dropdown list later.
    Please see my jotform for what I'm trying to do:

  • Gilbert JotForm Support
    Replied on November 2, 2022 at 12:59 AM

    Hi Griffin,

    Thanks for reaching out to Jotform Support. Unfortunately, it's currently not possible to use conditional logic to populate the options for a dropdown field based on the user's answers. You'd have to manually set the options of the dropdown field.

    You also cannot set a condition based on the selected products from a Product List. As a workaround, you can use regular fields like a multiple-choice field for the product items and set a condition to display a hidden dropdown list based on the selected answers. You'd have to have multiple hidden dropdown lists with different options set already and conditionally display them based on the user's selected answers.

    To make this work similar to a Product List where the values of the selected items are still calculated and displayed in the Total Price, you can assign calculation values to each option in the multiple-choice fields. Then, you can use a Form Calculation widget to pass the values to the payment field. You can check this guide for more details about this.

    Let us know if you have any other questions.