I'm trying to build a 4-part serial number input that auto-advances for each chunk of the serial number.
e.g. 1-384-3884-39
Also, how would I add the strings together into one string on submit?
I'm trying to build a 4-part serial number input that auto-advances for each chunk of the serial number.
e.g. 1-384-3884-39
Also, how would I add the strings together into one string on submit?
If i understand you correctly, I think you could use this function:
Working Demo: http://jsfiddle.net/kfbjy8fr/1/
I found a plugin... but would still like to learn the simplest way to do this.
http://www.jqueryscript.net/form/jQuery-Plugin-For-Auto-Tab-Form-Fields-autotab.html
i do a fiddle for you http://jsfiddle.net/fLz4LL9g/3/
Form:
Code: