⚠️ This lesson is retired and might contain outdated information.

Create form validation with yup in Svelte

Andrew Smith
InstructorAndrew Smith

Social Share Links

Tweet

You will add yup validation to a form in Svelte using svelte-forms-lib.

We have our form that is using svelte-forms-lib along with some custom validation logic. Here we will replace the custom validation with yup which provides some built in validation logic.