I need your help. I am working with MVC3-Razor application. I need to validate a textbox on View (.cshtml file) in such a way that, the starting 2 characters must be "PR" and 4th character must be "2". This is the requirement. How would i achieve this functionality? Any suggestions, it would be great help. Thanks for your precious time.
相关问题
- Entity Framework throws exception - Network Relate
- Date with SimpleDateFormat in Java
- Slow loading first page - ASP.NET MVC
- TextBoxFor decimal
- RegEx Max and Min length characters for a Text Box
相关文章
- Angular Material Stepper causes mat-formfield to v
- “Dynamic operations can only be performed in homog
- Why doesn't Django enforce my unique_together
- Change color of bars depending on value in Highcha
- How to get server path of physical path ?
- Breakpoint in ASP.NET MVC Razor view will not be h
- How to define function that returns html in asp.ne
- X/Html Validator in PHP
Model
View