Sabab Zulfiker

Sabab Zulfiker

  • NA
  • 85
  • 25.6k

jQuery validation plugin is not working in MVC 5

Nov 4 2017 6:20 PM
I have made a form to insert some data into database using MVC 5. When I'm using the Layout page in the view , my jQuery validations are not firing. But when I'm not using the Layout page , the jQuery validations are firing.
I have used the same validation code in both cases.
Validation works well in this code: https://pastebin.com/ehyuL38L
 
But validation does not work here :
 
https://pastebin.com/TycLVrY6 

Answers (4)