I have a field set to 8 characters, but it allows entering numbers beyond 8 digits.

  • Profile Image
    CASNR
    Asked on June 09, 2015 at 04:20 PM

    I have a number field set up with a limit of 8 digits. The field allows you to type as many numbers as you like, but then puts up a warning box telling you you are over 8 digits. It seems odd that you can keep typing after the limit.

     

    I there a way to not allow any entry after the 8th digit?

     

    The form is at:

    https://jotformpro.com/casnr/prf

     

  • Profile Image
    david
    Answered on June 09, 2015 at 04:29 PM

    Hi,

    For that, you would want to change the Max Size property for the field:

    Changing that attribute to 8 will limit the maximum characters for that field to 8.  Here is my clone of your form with the changes made:

    http://form.jotformpro.com/form/51596754228970

    If you have any further questions, let us know and we will be happy to help.

  • Profile Image
    CASNR
    Answered on June 09, 2015 at 05:31 PM

    I have it set to 8 max and it allows you to enter 9 digits.

    http://www.jotformpro.com/casnr/prf

     

     

  • Profile Image
    BDAVID
    Answered on June 09, 2015 at 06:10 PM

    Thanks for letting us know about this, we have reported this to our second level, you will be notified via this thread when it gets resolved.

  • Profile Image
    alp_deniz
    Answered on June 11, 2015 at 08:33 PM

    Hello,

    The problem seems to be fixed. Could you please confirm?

    Kind regards

  • Profile Image
    CASNR
    Answered on June 17, 2015 at 04:26 PM

    I've just tried both of my forms and they both allow the entry of what appears to be unlimited digits, but then throw up an error if you try to move on to the next question.

    If the number of digits is limited, shouldn't it not allow any entry after the limit?

     

    http://www.jotformpro.com/CASNR/saa

     

    http://www.jotformpro.com/CASNR/prf

     

     

  • Profile Image
    david
    Answered on June 17, 2015 at 05:38 PM

    I checked your form and the number field still does indeed allow for over 8 digits even when set to allow for only 8.  This ticket is still open and I'll send another comment to the developers regarding it.

    In the mean time, you can use a text box field, set the validation to "Numeric" then set the character limit to 8:

    This should allow for the same thing you are looking for but using a text box instead.

    I cloned your form and setup the text box so you can see that it does indeed limit the characters to 8:

    http://form.jotformpro.com/form/51676424411957

    We will let you know as soon as we have an update regarding the number field.

  • Profile Image
    liyam
    Answered on July 01, 2015 at 02:09 PM

    Hello,

    I've just made an update. It should now enforce the restriction on maxlength attributes set on the number fields in your form.

    Please let us know if you have further questions or concerns.

    Thanks.