Error structure looks like, Continue reading “How to fixed Uncaught TypeError: Constr is not a constructor Error in Magento?”
You can add a new validation rule with the data-validate attribute of the HTML tag using Magento.
By Default Magento mage/validation.js file used to set out-of-the-box custom rules for the Magento. Most of the times custom rules are used in the input tags. though you can apply to form tag, select tag as well as any HTML tag.