Conditional logic on Product list

  • midlantic
    Asked on April 18, 2024 at 2:50 PM

    I built a product list where some products require additional fields. For example, if the user selects "Business cards" I'd like to be able to capture their name and phone number as a required field. This can be outside of the product list. It looks like the conditional logic only allows me to trigger based on a value (quantity). Is there a way to use the logic to evaluate if the item is checked? The quantity doesn't matter to me, as long as it's greater than 0. The settings of the product widget don't allow me to choose 0 as a default value.

    Additionally, I'd like to know if it's possible to hide prices or have a non numeric value, since the prices aren't to be calculated on this form but rather quoted after submission.


  • Joeni JotForm Support
    Replied on April 18, 2024 at 3:28 PM

    Hi midlantic,

    Thanks for reaching out to Jotform Support. I'll need a bit of time to look into this. I'll get back to you as soon as I can.

    Thanks for your patience and understanding.

  • Joeni JotForm Support
    Replied on April 18, 2024 at 4:37 PM

    Hi midlantic,

    Thanks for patiently waiting. I understand that you would like to show the business card name, email, and phone number when they choose or select the product business cards. You can use the Conditional Logic Show/Hide Field to show those fields. Here's the screenshot of the condition:

    Conditional logic on Product list Image 1 Screenshot 30

    Check out the screencast of the result below:

    Conditional logic on Product list Image 2 Screenshot 41

    As for your other question, I've moved that to a new thread. You can check that out here.

    Give it a try and Let us know how it goes.

  • midlantic
    Replied on April 19, 2024 at 12:05 PM

    This worked perfectly. Thanks for your help!!

 
Your Answer