Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Alan Mills](https://secure.gravatar.com/avatar/2c6a68753585d9bd0a001847aa9fabf1?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Alan Mills
31,712 Pointsclient-side validation isn't appearing to function.
I followed the code-along, pulled the jquery files, via NuGet, and checked for typos.
in WebConfig: <add key="UnobtrusiveJavaScriptEnabled" value="true" /> <add key="ClientValidationEnabled" value="true" />
in Shared/Layout: <script src="~/Scripts/jquery.validate.min.js"></script> <script src="~/Scripts/jquery.validate.unobtrusive.min.js"></script>
I'm still hitting the breakpoint when I shouldn't. Has anybody experienced anything similar? Could use a hand. Thanks!
![Alan Mills](https://secure.gravatar.com/avatar/2c6a68753585d9bd0a001847aa9fabf1?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Alan Mills
31,712 PointsSo, I've ended up forking the suggested Treehouse Repo, and I'm now seeing client-side validation. But I'd love to diff my two repos, so I can identify what slight-of-hand is going on, preventing my own client-side validation to fail. Any advice is greatly appreciated. Thanks!!!
2 Answers
![Harald Carlsten](https://secure.gravatar.com/avatar/6bca49d5908306aef3e5911db604a818?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Harald Carlsten
7,806 PointsI also had this problem but I didn't start to copy code. Instead, I tried to look the error messages... I found that the script was referring to a non-existent version of JQuery. I hooked up to the JQuery in the Application (3.3.1) and then everything was alright in this best of worlds...
![Chris Roberts-Watts](https://secure.gravatar.com/avatar/c44550fea92d374d50e17e9c1539ab3a?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Chris Roberts-Watts
5,434 PointsI have had the exact same issue, I downloaded the project files and used v4.6 to compare against. Everything was identical (at least I think it was). So I copy and pasted the script includes from the bottom of the layout view, copy and pasted the app settings from the top of the web config file, rebuilt it and it worked .... no idea what was different but if your struggling and want to keep your own project if you have made personal changes give that a go.
![Janice Childers](https://secure.gravatar.com/avatar/662b6c951e45babcbed4b83f3cbede9a?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Janice Childers
18,958 PointsThanks! Came here because I just ran into the same problem and that solution worked. Mine also looked identical, so not sure what is going on here.
bkraider
7,837 Pointsbkraider
7,837 PointsI have noticed the same problem. The client side obtrusive validation is not working. There one additional step in the teachers notes when compared to the steps in the video like adding of the code. It still does not work. Client side validation should fire, show the error message and form should not post to the server.
@RenderSection("scripts", required: false)