// doesn't support hidden fields, so we check those in an extra step
function validate_field(field) {
if (field.type === 'hidden') {
// doesn't support hidden fields, so we check those in an extra step
function validate_field(field) {
if (field.type === 'hidden') {