[Koha-bugs] [Bug 7670] make required fields red in additem.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Mar 17 02:51:47 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7670

--- Comment #9 from Robin Sheat <robin at catalyst.net.nz> ---
Created attachment 8247
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8247&action=edit
Bug 7670 - make required fields red

Adding "required" style and "Required" note to additem fields,
consistent with the way required fields are displayed
on the add patron form.

This patch also corrects an error in the client-side validation
script which misidentified which fields were required. Leaving
a required field empty should result in an alert and the missing
field being highlighted in yellow.

To test, open the add item form on a record which uses
a framework in which one or more item fields are required.
Required fields should be labeled in red and appended with a
"Required" note.

Submit the form while some required fields are empty. You should
see a javascript alert. The empty mandatory fields should have
a yellow background.

Signed-off-by: Liz Rea <wizzyrea at gmail.com>
Works - passes tests.

Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>

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


More information about the Koha-bugs mailing list