Hello! I try to have a non required field which is a phone number.
I would like to have a error message when it's invalid. But I only manage to have this message when the field is required.
Any help would be appreciated.
Hello! I try to have a non required field which is a phone number.
I would like to have a error message when it's invalid. But I only manage to have this message when the field is required.
Any help would be appreciated.
I used to have this in an earlier version. Not really sure why I took it out.
I'll rejig the validation function and issue a new version. Shouldn't take me long. I'll also do the same with the email field so it will validate the format even if the field is not required.
Sorted.
The Error messages tab now has a checkbox that will let you validate the email/telephone format even if the field isn't required.
You must log in to post.