http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14011 --- Comment #4 from Marc Véron <veron@veron.ch> --- Hi Jonathan, Add following alerts after line 66 in circulation.tt: $(document).ready(function() { $('#mainform').on('submit',function() { alert(barcode); alert(barcode.value); $('#barcode').on('keypress',function(event) { $('#barcodeSubmittedModal').modal(); event.preventDefault(); } ); }); (...) ...and then do checkout with a barcode e.g. 123456789 Result: With the first alert you will get [object HTMLInputELement] and with the second the barcode 123456789 While testing I detected errors because there seem to be cases where the object barcode does not (yet?) exist. That's why I test first for the existence of barcode and then for it's value. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.