View Single Post
Old 11-29-2015, 11:48 PM   #2
smmexpertss
Registered User
 
Join Date: Sep 2015
Location: UK
Posts: 447
When setting options via HTML attributes, remember to enable the validator by setting data-fv-emailaddress="true".
You don't need to do that when using HTML 5 type="email" attribute.
The message and other options can be updated on the fly via the updateMessage() and updateOption() methods
This validator passes an empty field since the field might be optional. If the field is required, then use the notEmpty validator.
smmexpertss is offline   Reply With Quote