Better handling of pre-submission required fields for HTML5 browsers