carbon-fields icon indicating copy to clipboard operation
carbon-fields copied to clipboard

Give better feedback when required fields are missing

Open doup opened this issue 10 years ago • 3 comments

When the user clicks on "Update" and there are errors we should give some feedback, otherwise the user might miss the errors, especially when the forms are down outside the visible area.

A notice just below the "Update" box would be ideal.

doup avatar Jul 27 '16 07:07 doup

Another option would be to scroll the user to the first invalid field if its not in the viewport.

More ideas/opinions are welcomed.

m1r0 avatar Jul 29 '16 07:07 m1r0

An admin_notices including anchor links (with scroll) to the failed required field(s) would be nice because you point to the issue(s) without doing something the user is not expecting (an automatic page scroll). The admin notice can also contain customizable error notices for each required field with hints on what went wrong.

boquiabierto avatar Aug 20 '16 17:08 boquiabierto

Required fields missing values are already highlighted and the window is scrolled down with the field in view.
This ticket is now complete with https://github.com/htmlburger/carbon-fields/commit/84635dc86786b6ffc1dd5a655f7da9705d51c2b5 addressing some issues with the validation notice not appearing for all container types.

atanas-dev avatar Jan 11 '17 10:01 atanas-dev