Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Vue.js Form Validation

Get access to the most comprehensive Vue.js video library in the world. Over 300 video lessons including the newest Vue 3 features.

Conditional Validation

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.