Level up with access to over 250 vue.js lessons
Subscribe now and get immediate access to this course, 17 others, and all future Vue.js courses!
Get access to this course, 17 others, and future Vue.js courses!
Plans from $25/month
Already got an account?
In this lesson, we'll learn how to apply a validation rule only if a condition is met.
In our case, we want to make sure the user leaves his email if he opts in to our newsletter.