validations: current phone formats in the form
-
Good afternoon!
please tell me with my situation: in the settings of the phone field, if I choose validation “national”, then the form allows you to enter in addition to the current formats +79XXXXXXXX and 89XXXXXXXX, not necessary:+7-9-XX-XXXX-XX-X,
+7-9-XX-XXXX-XX-X,
+7-9-X-X-X-X-X-X-X-X-X,
8-9-XX-XXX-X-X-XX.And if I choose Character Limit and Limit field to 11 characters, then the form allows you to enter all formats by limit, including those that are not needed. How can I make the form fill in the first “+7 ” characters in advance and limit the number of characters, for example, to 12, including those filled in automatically? Well, or validation national + Character Limit, provided that if +79xxxxxx, then the limit of characters is 12, and if 89xxxxxx, then 11?
Or is this impossible?
The page I need help with: [log in to see the link]
- The topic ‘validations: current phone formats in the form’ is closed to new replies.