Forked from obiyoda/magento_javascript_formvalidation.js
Created
December 9, 2018 07:49
-
-
Save manojiksula/5c01dfa328b810dfe351a16a95c0a8a7 to your computer and use it in GitHub Desktop.
Call the magento javascript form validation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //form-validate is the id of the form | |
| var dataForm = new VarienForm('form-validate', true); | |
| if(dataForm.validator.validate()){ | |
| //do stuff here when the form is validated | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment