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

    Need the value to be fixed, not able to exceed the total value

    Asked by PoppiesBlooming on May 23, 2013 at 08:04 AM

    I have this form I am making and need the field where people select the sizes for the three tshirts to not allow them to exceed the total number of 3. It seems to be letting you enter more than three.

     

    http://form.jotformpro.com/jsform/30937836513964

     

    Can you advise? How do I make it fixed?

     

    Page URL:
    http://form.jotformpro.com/jsform/30937836513964

    jsform select
  • Profile Image
    JotForm Support

    Answered by Morian on May 23, 2013 at 08:38 AM

    Hello there! 

    I cloned your form and actually it is working fine with regard to the fact that it only allows up to 3 selections and an error message pops up when I tried to input more than 3. 

    I believe the problem you are having is that since this is a required field, the users can not enter a value on only 3 of the 5 fields without the error message popping up, right?

     

    The easiest workaround here is to instruct them to input a value of 0 to sizes that they won't be ordering.

  • Profile Image
    JotForm Support

    Answered by abajan on May 23, 2013 at 08:44 AM

    @PoppiesBlooming

    Exactly what are users to enter in those boxes? I'm asking this because the label for the field states "Please include the sizes for the three (3) 'Ask Me How to Adopt' T-shirts you will receive:". I could be wrong but it doesn't seem that the right field type is being used.

  • Profile Image
    JotForm Support

    Answered by abajan on May 23, 2013 at 08:48 AM

    Ah never mind. Perhaps the label should be worded a bit differently. Something like "Enter the digit 1 next to each shirt you wish to order. There's a maximum of 3 shirts." Something like that.

    Just a suggestion.

  • Profile Image

    Answered by PoppiesBlooming on May 23, 2013 at 08:58 AM

    Ok was it required? I might have changed it to that to see if it fixed what it did but will definitely reword it... it is a bit clumsy. Can I have it enter 0 as a default value in the boxes?

  • Profile Image
    JotForm Support

    Answered by Morian on May 23, 2013 at 09:11 AM

    Yes it was required, which is actually good to ensure that they input a value. Unfortunately, the Default Value option is not available in that particular field so the users would have to manually input the 0.

    If you would rather have the users just leave blank the size they wouldn't order, then you can just set the "Required" property to No.  An error message would still pop up if it exceeds 3.

  • Profile Image

    Answered by PoppiesBlooming on May 23, 2013 at 09:24 AM

    OK, how would I do that? Sorry, don't mean to be thick...

  • Profile Image
    JotForm Support

    Answered by Morian on May 23, 2013 at 09:36 AM

    Simply click on Properties.

    Then, click on Show Properties

    You will see there "Required". Set it to "No". Then that's it! =)

     

  • Profile Image

    Answered by PoppiesBlooming on May 23, 2013 at 09:39 AM

    OHH lol ok, blonde moment! I thought you mean No. as in 'number' LOL... so they would have to enter a number... right ok, yeah I can change that back lol.... 

  • Profile Image
    JotForm Support

    Answered by Morian on May 23, 2013 at 09:47 AM

    If you set the Required to "No" then they won't have to enter the number "0" on sizes that they won't order, they can just leave it blank. It would still accept only up to 3 so you don't need to worry about exceeding that.

     

    The only downside to setting the Required to "No" is that they would be able to submit the form even when all of the fields are left blank. 


    Keeping the Required to "Yes" would ensure that that is filled before form submission but you will also have to instruct the users to put the number "0" on sizes they won't order.

    Hope this helps! =)