Subscribe now and get immediate access to this course, 13 others, and all future Vue.js courses!
Get access to this course, 13 others, and future Vue.js courses!
Plans from $12/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.