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 make quantity in Purchase a required field?

    Asked by GeneKempers on April 29, 2016 at 01:03 PM
    required field purchase quantity
  • Profile Image
    JotForm Support

    Answered by Nik_C on April 29, 2016 at 03:27 PM

    You can disable select by default in your payment wizard and make purchase order field required.

    To disable select by default:

    And to make purchase order required:

    Since, if you just enable required and your item is selected by default, it will always submit.

    On the other hand, if you select that field but you don't put Quantity it will still submit, so that might not work for you.

    Another solution would be to create your item outside of the Purchase order field and use Form calculation wizard for collecting the price that you will send to payment.

    What you can do, like on the picture above, is to use radio button for your item, number field for Quantity that will be required, Quantity * 5$ is Form calculation wizard and Total field is Purchase order. 

    To make your Purchase order collect value from Quantity * 5$ field please follow:

    Hope it helps.

    Please let me know if you have any additional questions.

  • Profile Image

    Answered by GeneKempers on April 29, 2016 at 03:50 PM

    Nik_C,

    The form calculation wizard method that you describe looks like it will work.

    Can I hire someone from JotForm to do it for me?

    Can try it out on my form called FAMILY 2

    Gene

  • Profile Image

    Answered by Gene on April 29, 2016 at 04:43 PM

    I added a calculation field and tried to reference a field inside of my configurable list but it won't let me find it in the list of fields available to the calculation field.

    See the FAMILY 2 form.

    I have a configurable list with a quantity that can be duplicated as often as needed so there may be 10 or 20 quantities to add up depending on how many times the user duplicated the input data.

  • Profile Image

    Answered by Ben on April 29, 2016 at 05:43 PM

    Hi Gene,

    Unfortunately the configurable list widget is too complex, and as such you can not reference any element within the same.

    You would either need to create the similar functionality by adding multiple form fields and then conditionally showing and hiding the same (Show or Hide multiple fields at once using form collapse tool ), or alternatively, set only one field set and have the form re-submitted any amount of times that is needed.

    In regards to the hiring, please do note that we can only assist you with this, we can not do it for you, but you could open a project for example on some online hiring website to ask for the same thing.