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 can I populate a quantity so that the quantity can't be changed by the user?

    Asked by MetroCathedral on January 28, 2014 at 09:54 AM

    I want to have a single registration form so that only one registration can be completed per form. How can I make it such that the form won't allow the quantity to be changed by the user?

    quantity registration form
  • Profile Image

    Answered by Carina on January 28, 2014 at 10:57 AM

    Hello,

    As you only wish to sell one item per form there is no need to have the quantity number field. So my suggestion is to hide that field. You can achieve this by injecting the following css code:

     

    #input_16_quantity_1002_0

    {visibility:hidden;}

     

    .form-sub-label {

    color: transparent;}

     

    #sublabel_prefix{

    color: #999999;}

    #sublabel_first{

    color: #999999;}

     

    #sublabel_last{

    color: #999999;}

     

    #sublabel_7_addr_line1{

    color: #999999;}

     

    #sublabel_7_addr_line2{

    color: #999999;}

     

    #sublabel_7_city{

    color: #999999;}

     

    #sublabel_7_state{

    color: #999999;}

     

    #sublabel_7_postal{

    color: #999999;}

     

    #sublabel_7_country{

    color: #999999;}

     

     

    Hope it works as you wish.

    Kindly let us know if you need more assistance.

     

    Regards

    Carina

  • Profile Image

    Answered by Carina on January 28, 2014 at 11:03 AM

    By the way you can check here how to insert css in your form

    Regards