type="text" may be mandatory