Allow set_field_value to recognize that an input element with no type defaults to the text type