-
Trench_TrophyAsked on April 1, 2025 at 1:54 AM
I am using Paypal Checkout, I have multiple products available for purchase. There is a condition to hide a page requesting artwork to be uploaded for a sponsor sign.
The customer gets a free sign if they purchase 4 golfers. The upload page is hidden if less than 4 golfers are selected.
The other scenario is that golfers can pay for less than 4 golfers, but also buy a sign for $100. To use a Paypal item with conditions it needs to use the quantity field, but that field doesn't support 0. So because it defaults to one, the conditions have no way of hiding the upload page because the default is 1.
To recap:
- I want to show the artwork upload page only when:
- 4 golfers are purchased (free sign), OR
- a $100 sponsor sign is purchased.
- BUT:
- The PayPal quantity selector defaults to 1 and can’t be set to 0.
- That messes up conditional logic because the sign is always showing as “selected.”
How do I fix this?
Page URL: https://form.jotform.com/240856978969181 -
Rene JotForm SupportReplied on April 1, 2025 at 10:17 AM
Hi Trench_Trophy,
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.
In the meantime, let us know if you have any other questions.
-
Rene JotForm SupportReplied on April 1, 2025 at 4:07 PM
Hi Trench_Trophy,
To achieve your goal, you just need to make some changes to your form, especially the condition you set to skip the artwork upload page, and the product selector from your form's Product List page. Let's start with the condition:
- In Form Builder, in the orange navigation bar on top of the page, click on Settings.
- In the menu on the left, go to Conditions.
- Hover your mouse over the condition to Hide a Page, and then click on the Pencil icon on its right.
- In the IF dropdown on the green banner, select Any, and then click on Save at the bottom of the page once done.
Now, we can proceed with the Product List field. The only thing we need to do is to remove the default selection of one of your items, so none will be automatically selected when accessing your form for the first time. That way, the condition set to it along with the artwork upload page can work properly. Here's how to do it:
- In Form Builder, click on the Product List field, and then click on the Wand icon on its right to access it settings.
- In the Payment Settings on the right, hover your mouse over the default product, and then click on the Pencil icon.
- Toggle Selected by Default to disable it.
- Click on Save at the bottom to apply the change.
-
Trench_TrophyReplied on April 1, 2025 at 5:15 PM
Thank you!
This almost works, but I can't use "Any" for the the IF Dropdown because there is a scenario where someone could book 1-3 golfers and then add a hole sponsorship, which isn't included under 4 golfers. In that scenario, the artwork upload doesn't show because it gets hidden on the 1-3 golfers chosen.
-
Elton Support Team LeadReplied on April 2, 2025 at 4:47 AM
Hi Trench_Trophy,
I found a workaround based on your description. Let me show you how to set it up:
1. Add two Form Calculation widgets into your form. You can label them Golfer & Sponsor then hide these fields, right-click then select Hide, so they're not visible in the preview.
2. Add two Update/Calculate a Field conditions in your form and set them like these:
3. Finally, update the existing hide page condition that you have with the following.
Here's my demo form that shows how this works. It only shows the Artwork page when 4 Golfer Registration (Before July 1st) is purchased or when Hole Sponsorship is also selected.
Give it a try and let us know if you need more help.
Your Answer
Something Went Wrong
An error occurred while generating the AI response. Please try again!