- PoppiesBloomingAsked 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.
Can you advise? How do I make it fixed?
- JotForm SupportMorianAnswered on May 23, 2013 at 08:38 AM
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.
- JotForm SupportabajanAnswered on May 23, 2013 at 08:44 AM
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.
- JotForm SupportabajanAnswered 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.
- PoppiesBloomingAnswered 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?
- JotForm SupportMorianAnswered 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.
- PoppiesBloomingAnswered on May 23, 2013 at 09:24 AM
OK, how would I do that? Sorry, don't mean to be thick...
- JotForm SupportMorianAnswered 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! =)
- PoppiesBloomingAnswered 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....
- JotForm SupportMorianAnswered 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! =)