• Resolved Ron22

    (@ron22)


    I use digits field for phone number. Is there a way to force the user to fill in at least 9 and max 11 digits?

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    (@codepeople)

    Hello @ron22

    If you need more control over the field’s values, I recommend you to use a “Single Line Text” field, and associate to it a regular expression and error message to validate the values entered by the users (there are two attributes in the field’s settings for entering the regular expression and the error message).

    A possible regular expression would be:

    
    /^\d{9,11}$/
    

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Define number of digits in field’ is closed to new replies.