Automatically submits the form if a barcode scanner (or user) presses enter on the first text field
You can use this together with my other scripts to create a form that automatically selects the first text field and opens a new form after submission.