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


Ravi PatelRank #439 · 5.7K reputationPosted Nov 4, 2017, 9:49 PM EDT
Save From Form
Ravi PatelRank #439 · 5.7K reputationPosted Nov 4, 2017, 9:54 PM EDT
Mukesh NayakRank #1,172 · 1.5K reputationPosted Nov 4, 2017, 11:52 PM EDT
Satyaprakash SamantarayRank #101 · 21.1K reputationPosted Nov 8, 2017, 5:33 PM EST