[Koha-patches] [PATCH] Adding javascript to prevent premature submission of forms when using a barcode scanner (or by hitting the enter key). Addresses Bug 2591

Joe Atzberger joe.atzberger at liblime.com
Mon Oct 6 17:38:26 CEST 2008


> Patch pushed, but with reservations: suppressing the enter key in all
> fields in the patron and item forms may be casting the net too wide;
> an operator who is used to hitting enter now has to reach for the
> mouse.


They could still tab down and spacebar-click the actual save/submit button
(the old-fashioned way).

On large input forms, I tend to view enter-catching as a valid preventative
measure, short of an actual validation popup, to keep partial or inaccurate
submissions from hitting the DB.  Maybe unnecessary on all fields, but I'd
use it frequently on large forms.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-patches/attachments/20081006/30f12605/attachment-0002.htm>


More information about the Koha-patches mailing list