By Default Magento give number of validation classes.you just need to use the class name.Its easy find the html tag where their is mobile number html and add a class attribute to that input type and under the class add the following classes
"validate-length maximum-length-10 minimum-length-10 validate-digits"
validate-length maximum-length-10 minimum-length-10 validate-digits
Reference: http://inchoo.net/magento/out-of-the-box-form-validation-in-magento/
It’s a nice blog with very useful information!!!
ReplyDeleteSwift developer course in chennai
Swift Developer Training in Bangalore
Cyber security course in chennai
Cyber Security Course in Bangalore
Software Testing Training in Chennai
Artificial Intelligence Course in Chennai
Full stack developer course in chennai
Graphic Design courses in Chennai