Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form field validation on Composition template submit #148

Open
bertellil-prom opened this issue Jan 14, 2025 · 0 comments
Open

Form field validation on Composition template submit #148

bertellil-prom opened this issue Jan 14, 2025 · 0 comments

Comments

@bertellil-prom
Copy link

Is your feature request related to a problem? Please describe.
When submitting a Composition template with invalid fields, there is no automatic scrolling to highlight the problematic fields and error messages are not displayed. This creates a poor user experience as users have to manually scroll through the form to find which fields need correction without visually indicating validation errors.

form_validation.mov

Describe the solution you'd like
When a user submits the Composition template form with invalid fields:

  • The page should automatically scroll to the first invalid field
  • Clear error messages should appear below each invalid field explaining the validation requirements
  • Invalid fields should be visually highlighted (e.g., with a red border or background)
  • A summary of validation errors could optionally appear at the top of the form

Describe alternatives you've considered
Adding client-side validation that prevents form submission until all fields are valid
Displaying a modal with a list of all validation errors
Adding validation indicators that appear in real-time as users type, rather than on form submission

Additional context
This feature would improve form accessibility and reduce user frustration

when completing Composition templates. The current lack of validation feedback makes it difficult for users to identify and correct errors efficiently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant