[Koha-bugs] [Bug 14060] Remove readonly on date inputs

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 27 22:33:03 CET 2016


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

--- Comment #19 from Marc Véron <veron at veron.ch> ---
(In reply to Jonathan Druart from comment #18)
(...)
> I don't manage to force the leading zeros, suggestions are welcome.

The date validation seems to be on the datepicker's onClose and change
functions only, but there is no onclick function directly on the Submit button.
I think that a final date validation could take place there with a function
that returns false if the date is not valid. Maybe the same function could try
to do some formatting (1/1/2016 -> 01/01/2016  etc.) before validation.

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


More information about the Koha-bugs mailing list