I have a 6X4 table with input type as number, I do not want user to enter more than 5 digits in there. How can I achieve this?

  • Profile Image
    Asked on August 12, 2016 at 04:48 AM
  • Profile Image
    Answered on August 12, 2016 at 06:01 AM

    Unfortunately it is not possible to limit the input type Matrix table to only 5 digits. If you want to limit the input to only 5 digits, you will need to use a regular textbox field and set an input mask to that field.

    You can check out this guide for more info: Getting Started with the basics of Input Masking

    Alternatively, you can also use the Masked Input widget to limit the input to only 5 digits. http://widgets.jotform.com/widget/masked_input 

    If you need further assistance, please let us know.

  • Profile Image
    Answered on August 12, 2016 at 07:49 AM

    Thanks but that doesn't help much. 

  • Profile Image
    Answered on August 12, 2016 at 10:54 AM

    Sorry but was not able to accomplish what you are looking for. I tried various methods but none worked. The only way at the moment would be to use the SOURCE CODE of the form. and add the attribute MAXLENGTH in the fields you would like to restrict.