AMP-SCZ / dpdash

Deep phenotyping dashboard
Other
2 stars 1 forks source link

validate registration form #705

Closed Elkrival closed 8 months ago

Elkrival commented 8 months ago

This pr changes the validation on the registration form, from onSubmit, to OnChange.

I've already implemented an error message, a success message and below the input we see the form validation errors. The only difference is that the form will be validated on every keystroke instead of submission.

Screenshot 2024-03-20 at 3 02 23 PM Screenshot 2024-03-20 at 3 03 15 PM Screenshot 2024-03-20 at 3 08 44 PM Screenshot 2024-03-20 at 3 11 09 PM