You will add custom validation to a form in Svelte using svelte-forms-lib, we will explore using the errors store and the validate option in order to validate a form before submission.
errors
validate