How to Add Custom JS Validation Rule in Magento 2
You can add another approval rule with the information approve characteristic of the HTML label utilizing Magento.
As a matter of course Magento mage/validation.js document used to set out-of-the-container custom standards for the Magento. A large portion of the times custom guidelines are utilized in the information labels. however you can apply to frame tag, select tag as well as any HTML tag.
Sentence structure:
$.validator.addMethod(argument1, argument2, argument3) used to characterize custom approval rule in Magento.
Comments
Post a Comment