Hi everyone!
I want to verify if user zip code is in XXXX-XXX format, (where X is ONLY NUMBER)...
Something like this: http://html5pattern.com/ (http://html5pattern.com/)
How and where can I do it?
Thanks in advance!
Joomla 2.5.7
Virtuemart 2.0.14
it can be done by javascript and you can use the tutorial below.
just add the field id whatever zip gets in the html and use it.
http://www.cambiaresearch.com/articles/39/how-can-i-use-javascript-to-allow-only-numbers-to-be-entered-in-a-textbox