Is Form Collapse possible within one payment gateway?

  • mderrickson
    Asked on December 5, 2016 at 7:13 PM

    Just getting started with JotForm and I'm looking to split my office supply order form up into categories, which could be collapsed or expanded depending on what the customer is looking for. Is that possible within an order form? If so, how? Just setting up a test form and have about 84 items I'll be adding. Want to reduce scrolling as much as possible.

    Thanks!

    Mike

  • Ashwin JotForm Support
    Replied on December 6, 2016 at 2:08 AM

    Hello Mike,

    I am not sure if I have understood your requirement correctly. Do you mean to say that you want to add categories in your payment form?

    Yes it is possible to achieve your requirement and the following guide should help you:  https://www.jotform.com/help/178-How-to-Have-Sub-Category-or-Sub-Labels-on-an-Order-Form

    You may also like to take a look at the following guide which should help you how to add sub-product which will be be displayed in an collapsible format:  https://www.jotform.com/help/264-Create-Sub-Products-Based-on-a-Product-Option 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • mderrickson
    Replied on December 6, 2016 at 5:45 PM
    Neither of those are exactly what I’m looking for. I’m more thinking of separating categories (like the first link you sent) but having them collapsible so people only needed to access portions of the product offerings they are looking for (thing categories of products like “Writing Utensils” “Clips & Fasteners” etc.). Is that possible?
    ...
  • Chriistian Jotform Support
    Replied on December 6, 2016 at 8:51 PM

    Your requirement can be achieved by using regular checkboxes to show the products. Then a calculation field will be used to calculate the total from these products and pass them on to the custom amount payment field. Please follow the steps below:

    1. Add a checkbox field to show the products available. (If you want you can use a dropdown or textbox too)

    Is Form Collapse possible within one payment gateway? Image 1 Screenshot 60

    2. Then we will assign calculation values for each of these products. These calculation values will be the prices of the products. Please follow this guide on How to Assign Calculation Value

    Is Form Collapse possible within one payment gateway? Image 2 Screenshot 71

    3. Now add a calculation widget to your form and add the checkbox fields in your formula. Please follow this guide on How to Perform Form Calculation Using a Widget

    Is Form Collapse possible within one payment gateway? Image 3 Screenshot 82

    4. Once the calculation  is set, all we need to do is to pass the calculation to your payment field. You can follow this guide to do so: How to Pass a Calculation to a Payment Field

    Is Form Collapse possible within one payment gateway? Image 4 Screenshot 93

    5. You can now add form collapse to categorize the products on your form

    Is Form Collapse possible within one payment gateway? Image 5 Screenshot 104

    You can check out my demo form to see it in action here: https://form.jotform.com/63408335189966. You can also clone it to your account to see my setup.

    If you need further assistance, please let us know.
    Regards.

     

  • mderrickson
    Replied on December 7, 2016 at 12:45 PM
    Thank you for the information, but that won’t work for my purposes either (although it’s close). I need them to be able to select quantity in addition to selecting the items. Is that possible?
    ...
  • Ashwin JotForm Support
    Replied on December 7, 2016 at 1:16 PM

    Hello mderrickson,

    Yes it is possible and we can definitely try to help you achieve your requirement. If I understand your requirement correctly you want to add a quantity field per item. Is that correct? Example: A quantity field to be added for each item in each category "Red Shirt, Blue Shirt / Yellow Shirt".

    I will work further on a clone of my colleague's form and get back to you soon.

    Thank you!

  • mderrickson
    Replied on December 7, 2016 at 1:45 PM
    Yes, that is correct. The form is for internal purposes in our organization for individuals ordering office supplies for their departments. I want them to be able to select items, add a quantity, and have the total shown that their department will be charged for the items.
    Thanks so much!
    ...
  • David JotForm Support
    Replied on December 7, 2016 at 4:12 PM

    If you need quantities for each, replace each option with its own number field:

    Is Form Collapse possible within one payment gateway? Image 1 Screenshot 30

    Then, in your calculation, use the number entered time the cost of the products:

    Is Form Collapse possible within one payment gateway? Image 2 Screenshot 41

    Here is how the form would work with that set up:

    https://www.jotformpro.com/form/63415887283971