Backend vs Frontend form validation documentation
We touched upon this issue in gitlab-org/gitlab-ce#50521 and I realized we don't have any documentation about BE vs FE form validation. Right now, we seem to have BE form validation across GitLab. As we want to make forms and form validation user-friendly should we explore the possibility of adding FE form validation and document it? If we decide to do so, we need to document how each of the two types of validation behaves and when they should be used.
We want our form validation to be contextual, meaning that we show the error next to the input field that triggered the error. This way, the user doesn't need to look for errors because they stand out (compared to one generic error message on top of the form). Is this something that can be done regardless of the implementation (BE/FE)?