[Koha-bugs] [Bug 10848] Allow configuration of mandatory/required fields on the suggestion form in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 20 14:06:45 CEST 2014


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

--- Comment #9 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
(In reply to Jonathan Druart from comment #5)

> Maybe it could be better to use the required="required" html attribute on
> the input element, don't you think?

Looks like a good idea, especially after I learned what it is and how it works
;). I've rewritten this patch to make use of this new attribute, I agree it
does work a lot nicer that way, at least in modern browsers.
I left Check() function still remaining as fallback mechanism for older/legacy
browsers (not sure it's a best possible approach ?), also I think it may still
come in handy e.g. in case when including some additional / more specific
validity checks on the form contents may be desired in the future.

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


More information about the Koha-bugs mailing list