I have barcode pasted on each product so before generating invoice i to have enter batch number and expiry date. so batch number and expiry data only accept by scanning in the textbox.
Should not accept copy paste also.
I need JavaScript code
New contributor
Akshay Patidar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.