Fourigin-GbR / theseus

0 stars 0 forks source link

Forms-Validation before submit #18

Closed ervion closed 5 years ago

ervion commented 5 years ago

At the last step (in case of StepBoxes) in in one-step-forms (e.g. create-customer) the form data should be validated before submitting to the service. We have to send two requests here:

  1. /validate (full validation, not a pre-validation!)
  2. /register-form in case of no validation errors

Alternatively we have to interpret error messages of /register-form exactly in the same way how we do it for pre-validation. At the moment in case of an validation error we just see an error page without detailed error messages.

kschaefer76 commented 5 years ago

Done. Please verify.