Walnutz

Walnutz

Avoid Barcode Reader automatically submitted the form with Javascript

July14

Barcode reader used to read the barcode and then convert it to text, so you don’t need to enter the text manually. Barcode Reader not also enter the text to the textfield but ist also automatically send “Enter” key like we press “Enter” on the keyboard. This can be good condition or bad condition, because when we only need to enter the text from the barcode without submitted the form this can be a risk problem.

This problem can be solved easily with Javascript with onsubmit parameter to controll submit button and avoid submitted automatically by Barcode Reader. With this javascript, form will not submitted after Read the rest of this entry »

Need a logo? Try crowdSPRING!