recognize types in the form input conversion