Phone Number Validation Mask
Microsoft Net Framework

This validation give error if field is empty and if number is incomplete.

 <label for="PhoneNumber">Cell Number:</label>
  <input type="text" data-role='maskedtextbox' data-mask="9999-9999999" id="ContactNo" name="ContactNo" data-validmask-msg="Phone number is incomplete" required="required" />
  <span data-for='PhoneNumber' class='k-invalid-msg'></span>

 

Share This with your friend by choosing any social account


Upcoming Articles
You may also read following recent Post
Copyright Future Minutes © 2015- 2024 All Rights Reserved.   Terms of Service  |   Privacy Policy |  Contact US|  Pages|  Whats new?
Update on: Dec 20 2023 05:10 PM