-
hughdalAsked on April 8, 2024 at 4:41 PM
Sorry, I hope I'm asking this correct - I'm trying to set my form up like a shopping cart. So I want users to be able to fill out page 1, click next to page 2, then have the option on page 2 to go to either page 6 (checkout) or go to page 3 (a duplicate of page 1 for additional entries). Then pages 4 and 5 would also be duplicates of page 1.
Also is their a way of duplicating page 1 to pages 3,4,5 while keeping the same CSS formatting?Or maybe their is a better way?
Thanks
Page URL: https://form.jotform.com/240975095494267 -
Edwin JotForm SupportReplied on April 8, 2024 at 7:19 PM
Hi hughdal,
Thanks for reaching out to Jotform Support. I've taken a look at your form and based on my understanding, you want to allow your users to be able to make an order for one to four products. This can be done by using the Skip To/Hide A Page condition. But, you would need to add a question either on page 1 asking the user how many they would like to purchase, or you can add a question on page 2 asking them if they want to order more. I would suggest adding a dropdown on a separate page asking them to select how many they want to order, and then depending on their answer, you can skip/hide certain pages. It's easy. Let me show you how:
Adding the Dropdown field:
- In Form Builder, click on Add Form Element on the left.
- Click and drag the Dropdown element to the top.
- Click on Page Break to split the Dropdown field onto its own page.
- Click on the Dropdown element and enter a name for the question.
- Click on the Gear icon.
- Click on Options near the top right.
- Enter your options.
Setting up the Conditions:
- In Form Builder, click on Settings at the top.
- Click on Conditions on the left.
- Click on Add Condition.
- Click on Skip To/Hide A Page.
- Create the condition as shown below and click Save.
- Repeat the steps to hide the other pages(e.g., if they want to purchase only one product, then hide the second to fourth product pages).
- Repeat the steps for the other options(e.g., if they want to purchase two products, or three products, etc.).
For more information, check out our guide on How to Skip Pages Using Conditional Logic. As for your other question on duplicating the pages, I've moved that to a new thread. You can check that out here.
Let us know if you have any other questions.
-
hughdalReplied on April 8, 2024 at 7:26 PM
Thank you so much for showing me! Exactly what I needed.