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

    How to require multiples of 12 items on order form

    Asked by salamone on July 13, 2016 at 11:56 AM

    I want to ensure that when ordering, the customer buys multiples of 12 bottles.  How can I set this up?  Don't see a calculation or condition for multiples.

     

    salamone@vip.net GBwines Order Form

     

    Thank you.

    order form multiples of
  • Profile Image
    JotForm Support

    Answered by Mike on July 13, 2016 at 01:24 PM

    What is the next minimum orderable amount of bottles after the 12, is it a 13 or 24 value? The solutions are different depending on your answer.

  • Profile Image

    Answered by salamone on July 13, 2016 at 01:27 PM

    Multiples of 12.  So 12, 24, etc.  What would be great would be to make the box only accept multiples of 12 but to have a little hover box that says call the winery if you have questions about this requirement.  We can actually squeeze a 13th bottle into the box so they could call to negotiate this, but I want that to be a special option, not for everyone. I want everyone to order in multiples of 12.  

  • Profile Image
    JotForm Support

    Answered by Mike on July 13, 2016 at 02:30 PM

    I have configured it on your form. The following actions were applied.

    Added two Form Calculation widget fields, first to calculate the amount of ordered bottles.

    And the second to divide it by 12.

    Added a Text field (you can adjust the text) from Basic Fields.

    The last steps is added 'UPDATE / CALCULATE FIELD' condition. To hide the form Submit button and show the Text field if the total amount of bottles / 12 is a number with decimal point (contains dot).

    Please check the form.

  • Profile Image

    Answered by salamone on July 13, 2016 at 03:02 PM

    You are a genius, that works perfectly.  Thank you for your assistance.