This course will be retired on June 1, 2025.
Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
What is form validation? What is the difference between client-side and server-side validation?
Follow Along
To follow along commiting your changes to this course, you'll need to fork the aspnet-fitness-frog repo. Then you can clone, commit, and push your changes to your fork like this:
git clone <your-fork>
cd aspnet-fitness-frog
git checkout tags/v4.1 -b introducing-form-validation
Additional Learning
ASP.NET MVC 5 (the version that weβre using in this course) relies upon a jQuery validation plug-in to implement client-side validations. There are other ways of implementing client-side validation, including using support available in HTML5 and leveraging vanilla JavaScript. For examples of this approach, see this page on the Mozilla Developer Network (MDN) website.
For more information about the jQuery validation plug-in that ASP.NET MVC leverages, see this page.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up