Suppressing the Enter key from submitting a form


We use hand-held barcode scanners attached to our devices to scan certain fields into our Forms - however the barcode scanner naturally sends a carriage return at the end of the barcode scan.

This has the unfortunate side affect of submitting the form, even if the other fields are not yet completed.

I have thought about making all the fields compulsory, as then it would try to submit but this would not happen until you had finished, but not all our fields are compulsory!

Is there any way to disable the carriage return/Enter key in a form/form field from also submitting the Form?


Not sure about that but you can probably configure your barcode reader not to send the carriage return?