Given this code:
Header inputs:
This may or may not be acceptable, but if you can get away with the SUBMIT button being disabled until the form is completed, you can do this:
It's also worth noting that this works in IE9 (if you're worried about that).