52
rated 0 times
[
56]
[
4]
/ answers: 1 / hits: 19261
/ 10 Years ago, fri, june 13, 2014, 12:00:00
Magento has awesome Javascript validation library, which can be initialized var myForm= new VarienForm('[your form id]', true);
. However this validation function is triggered when one click on submit button.
Is not there way to validate particular field as you type. For example if I type postal code 2 digit and go to second field, it should instantly validate postal code and show error. As postal code require at least 5 digits.
thanks
More From » magento