I'm trying to find the best place to add a function to fire whenever a form in magento is submitted and fails. By fail I mean a required field wasn't filled in properly.

Where would the best place be? Should I edit validation.js?


Take a look here: http://inchoo.net/magento/out-of-the-box-form-validation-in-magento/

It describes how to do it the proper way.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.