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

  • Profile Image
    Asked on November 01, 2022 at 08: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:

    This is a re-post of a comment on How to Pass Field Value to Another Field?

  • Profile Image
    Answered on November 02, 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.