What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Is it possible to pre-define quantities on the purchase order form?

    Asked by lollipup on January 06, 2017 at 10:52 AM

    I don't want the user to select any quantity from 1-50 or from 6-50. 
    I don't want the user to select quantity of 7 becuase
    We only sell products in groups of 6,

    So for the purchase order form ... 

    Can we set up quantities like 6, 12, 24, etc.?

     

    Currently, we are using the Options feature to create quantities of 6, 12, 18, but this hack is not ideal for us.

    Thank you,

    Page URL:
    https://www.jotform.us/form/70053536649156?preview=true

  • Profile Image
    JotForm Support

    Answered by BJoanna on January 06, 2017 at 01:15 PM

    Unfortunately it is not possible to set up quantities like 6, 12, 24, etc. I saw that you have workaround with Special Pricing

    I am not sure why your solution is not ideal, but there is one more workaround. You can set your products using regular field (such as dropdown fields) and then you can perform calculation inside of the form and finally pass calculation to payment field. 

    Please check this guides to see how this can be done:

    How to Perform Form Calculation Using a Widget

    How to Assign Calculation Value

    How to Pass a Calculation to a Payment Field

    Let us know if you need further assistance.

  • Profile Image

    Answered by lollipup on January 06, 2017 at 03:28 PM

    Hi there, thanks so much for your help and answer. I'll follow up with some more. 

     

    The reason that I am looking for a workaround is because (a) it is more accurate to allow the user to define how many half-dozens they want (with my workaround approach I have to define every half-dozen variation). The other reason (b) is because visually, there are some things that are frustrating with the approach I have taken and I am looking for other workarounds. 

     

    I have a few follow up questions please!

     

    1. What do you mean when you say set your products using "regular field"? I'm having a hard time figuring out your explanation. 

     

    2. With the current approach that I am taking, is there a way to make a few visual changes to the layout of the order form? I am attaching a picture to explain. 

     

    Thank you.

  • Profile Image

    Answered by lollipup on January 06, 2017 at 03:38 PM

    And, I think I know what you mean my normal regular field? I tried setting it up at the top of the form. This might be the better way to go because it solves for the visual issues? But, I have no idea how to use the calculator function to tally everything together. 

  • Profile Image
    JotForm Support

    Answered by BJoanna on January 06, 2017 at 05:04 PM

    What I meant when I said "regular fields" is fields such as dropdown, check box, radio button that can be found in Basic Fields tab.

    I saw that you have modified your forma and that you are now using dropdown fields to allow your users to select quantity. 

    I have also tested your forma and I saw that you have assigned calculation values to all of your fields. Once of the fields is not included inside of calculation. You should check that and add all fields. 

    After that all you need to to is to add payment field to your form and pass value from Total (Including Shipping) (USD) field to payment field.

     

    https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field 

    Here is my demo form, with fixed calculation and with payment field:

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

    Feel free to test it and clone it

    Hope this will help. Let us know if you need further assistance.