Conditional logic/options help

Hi there,

I’m looking for the best way to implement some conditional logic into a form we’re building for our fishing members site. Many of our members are elderly, so I want the flow to be as simple and intuitive as possible.

We offer various day passes, such as:

  • Adult Day
  • Disabled Day
  • OAP Day
  • Junior Day

And we also offer corresponding night addons:

  • Adult Night (Addon)
  • Disabled Night (Addon)
  • OAP Night (Addon)

Ideally, I’d like members to be able to select a day pass type and then optionally add the corresponding night addon — but only if they’ve selected that day pass first. I also need to allow them to specify quantities for both day and night options.

A basic approach would be to use two separate dropdowns or radio fields — one for the main product and another for the addons — but that doesn’t let me control quantity easily.

My current idea is to use individual products for each day type, with the relevant night options as addons. However, I want the addon fields to only appear if the matching day product quantity is greater than zero. Unfortunately, conditional logic doesn’t seem to work with product field quantities in this way.

Does anyone have suggestions or workarounds for achieving this kind of conditional setup?

Thanks in advance!

Hi Graeme,

I understand you’re looking to use conditional logic based on the quantity of a Product field.

Although you can’t base conditional logic on the quantity subfield, you can add a separate Quantity field to the form, tied to your Product field, and use this for the conditional logic.

Alternatively, if you don’t want to use a separate Quantity field, you can use our Copy Cat perk to copy the value from the quantity subfield to a hidden Number field, and base the conditional logic on that.

I hope this helps! :grinning_face_with_smiling_eyes:

Thank you. This worked perfectly (I used the Quantity subfield)

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.