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

    Simple Checkbox List with Quantity

    Asked by printit on June 02, 2015 at 12:17 PM

    Is there a way to make a list of items with each line containing just these 3 things...

     

    Checkbox, Item Description, Text Box with hint text

     

     

    checkbox quantity hint items 3
  • Profile Image
    JotForm Support

    Answered by david on June 02, 2015 at 01:29 PM

    Hi,

    I believe one of our inventory style widgets should be able to do what you are looking for.  We have a few different ones:

    http://widgets.jotform.com/widget/inventory

    http://widgets.jotform.com/widget/gift_registry

    http://widgets.jotform.com/widget/quantity_gift_registry

    If these are still not quite what you are looking for, let us know a bit more detail about the requirements for your setup and we will be happy to see what else we can do.

  • Profile Image

    Answered by printit on June 02, 2015 at 02:07 PM

    David,

    Kind in the ball park, but I wish to do something like this see attached pic.

    Just want a simple checkbox list with a text box next to it with hint text for what static quantity is available. 

  • Profile Image
    JotForm Support

    Answered by david on June 02, 2015 at 02:50 PM

    The easiest way to accomplish that would be to just include the quantity amount in the description.  Something like this:

    There aren't really any other simple solutions I can think of that would add a proper label to each checkbox selection.

  • Profile Image

    Answered by printit on June 02, 2015 at 03:17 PM

    The per pack is the division they come in and would be static.  They would need to input the amount of packs they want in a text box. Like "4 Packs" "10 Packs", etc

    I see something like this with the configurable list widget but it is too involved for what I want to do. 

  • Profile Image
    JotForm Support

    Answered by david on June 02, 2015 at 03:46 PM

    You may want to using the purchase order payment field:

    Then setup your products with a custom quantity option:

    This will allow you to have checkboxes that have associated quantities. 

    You can then add this code to your form to move the product quantity to the right of the field:

    http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    .form-product-item .form-sub-label-container {margin: 3px 9px 1px 6px !important;

    position: absolute;

    top: 0px;}.form-product-item .form-checkbox {vertical-align: middle !important;margin-top: -3px !important;}

    .form-product-item br {display: none !important;}

    .form-product-item {width: 316px !important;margin-bottom: 1px !important;

    height: 25px !important;

    }

    Other than that, you would need to line up a bunch of text box fields to the right of your checkbox field.  This can be quite tedious and there will be no relation between the checkbox and the quantity.

  • Profile Image

    Answered by printit on June 02, 2015 at 04:10 PM

    I tried this. It not exactly what I am looking for. I will keep plugging away at the configurable list widget. Thanks for trying.

  • Profile Image
    JotForm Support

    Answered by david on June 02, 2015 at 05:42 PM

    I set up a couple of configurable list widgets to reflect the checkboxes and the text boxes.  Since there are so many options for the check boxes, I could not get a single widget to have both the text boxes and the check boxes:

    http://form.jotformpro.com/form/51525548118961

    I can work on lining them up better when I have more time if you would like.