Remove invalid field "type" on textbox