Bootstrap 5 validation: combining live per-field feedback with the .was-validated submit-gated pattern
Goal I want a Bootstrap 5 form where invalid fields show error styling immediately as the user leaves or edits them, instead of only after the first submit attempt, while still following the documented .was-validated pattern as closely as possible. Constraints and uncertainty The documented approach adds .was-validated to the form on submit, so :invalid styl