Posted on 18/08/2014 14:12:32
I am now using this validation for all my forms, but would like it to be even better - hope I can get some help for it.
If I check for integers, e.g. a zip-code or a phone number, I would like to be able to tell that the zip is four numbers, and the phone number is eight numbers. Is it possible to connect the validation field and the max lenght field in some way, so that the error message is like "The input must be numbers, max 8" (or something more elegant...) and of course, both is validated?
Or do I just have to use the "max lenght" validation instead?
/Lise