Monday, August 13, 2012

Input mask in ASP.net

Today I’ve got a requirement to force the user input to follow this international phone number format “(country-code) 1234-568” & because I love jQuery I started to look for an input mask plugin, I found this one. So I built simple ASP.NET Web Application to start playing with it. It’s contains 3 TextBoxes/Input fields, first one for the landline phone number, second one for mobile phone number, & the third and last one for the date of birth. Here’s the aspx code snippet: jQuery Masked Input Demo
Phone Number: (123) 1234-5678
Mobile Number: (012) 123-4567
Date of Birth: 22/08/1986

No comments:

Post a Comment