[Koha-bugs] [Bug 27427] Update the way form validation errors are displayed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 15 12:06:54 CET 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27427

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.renvoize at ptfs-europe
                   |                            |.com

--- Comment #5 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I like this improvement.. but I am wondering a little about the three different
states we now how..


Validation not yet triggered
* Red field label + Red Italic `Required`
Validation triggered and failed
* Red field label + Red Bold `This field is required.`
Validation triggered and success
* Red field label + Green Italic `✓ Required`

Whilst I sort of like the additional highlight that somethings still wrong upon
validation having triggered.. I'm not sure a completely different string is the
right approach... should we just bolden the already italic 'Required' text
perhaps.

Also, upon successful validation, should the field label also be made green
perhaps.. the mix of red label + green required is a little confusing?

I'm also a little tenuous on exactly 'when' validation takes place for various
fields in various forms... in some, like the point of sale, we validate during
form entry.. in others we only trigger the validation at form completion.

I tend to like 'during entry' as you get the feedback that you've completed
things as you work through the form.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list