I have a form and I need this field
%pre%In case it is the phone, it will display the following error messages: If the user types less than 8 digits, an error message appears, a %code% .
If the user types "-" which is an invalid character, an alert with = %code%
And if the number is valid (8 digits) nothing appears.
My code:
%pre%It's not working.
The reference in the HTML to the javascript has to be by onKeyup if possible, as the javascript has to check after the user types.
Sincerely,
Gabriel