Is there any way to use hidden html field to read barcode?

时间:2015-09-14 15:30:26

标签: python html django barcode hidden

I'm trying to find a way to hide input field used to read barcode but I don't know if it's possible. I'm using Python/Django framework.

Everything works fine with TextInput widget : I set autofocus on the field, submit on change and put a "start reading" button to set focus in case user remove it. When I replace by HiddenInput, it doesn't work anymore. I think focus is not relevant with hidden input, am I right ?

Someone has an idea ? If not, I will let it displayed...

Thx

0 个答案:

没有答案