Hello all,
I'm working on MVC 5 project, there I have add postal validation like this,
- [RegularExpression(@"^\d{5}(-\d{4})?$", ErrorMessage = "Please Enter Valid Postal Code.")]
- public string Pincode { get; set; }
Please help me...
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh ShahPosted Mar 4, 2017, 12:42 AM