[RESOLVED]asp.net mvc input masks and regular expressions

i want to use input mask in my Asp.net mvc 5 application.

1). i want to be implement mask (telephone number, date and different text field). 

2). i also want to restrict fields to enter just numeric values and can be just characters using regular expressions (like email address, age field and name fields).

Can anyone suggest me the thing which will support cross platform as well as cross browsers ( + mobile).

thanks

Hi softech,

That feature isn’t in the MVC. For the ASP.NET MVC, it can verify the input value instead of limit the format and data.

For that requirement, I suggest that you could use jQuery UI plugins.

# jQuery Inputmask

http://plugins.jquery.com/jquery.inputmask/

Best Regards

Starain

Leave a Reply