Quantcast
Channel: Active questions tagged users - Drupal Answers
Viewing all articles
Browse latest Browse all 453

Integer user form field with min 11 digits and max 11 digits

$
0
0

I need an integer form field with has a validation of min 11 digits and max 11 digits. In other words; the user has to fill in an 11 digit code.

How do i make this field and validation?

Update:

I managed the field by setting a min of 10000000000 and max of 99999999999. But now i get this validation message:

RIZIV number: the value may be no greater than 99999999999.

How do i change this validation/error message to something like:

Fill in your right 11 digits RIZIV number.


Viewing all articles
Browse latest Browse all 453

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>