Created
October 30, 2015 10:49
-
-
Save mwin007/b3d0c7696f653d3f5566 to your computer and use it in GitHub Desktop.
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
var theForm = new VarienForm('frm_id', true); | |
Where frm_id is your form id | |
if (theForm.validator && theForm.validator.validate()) | |
{ | |
// if validation successful pass then | |
} | |
else | |
{ | |
//magento validation fire | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment