I am trying to 'cast' a password field as a text field.$fields['password'] = array('type' => 'text');However, it is showing as a Text Area in the Form and not a Text Field.
Since the field name is "password" there is a representative value that is overriding that. Add the parameter "ignore_representative" => TRUE: $fields['password'] = array('type' => 'text', 'ignore_representative' => TRUE); More on representatives can be found here: http://docs.getfuelcms.com/general/forms#representatives
Comments
$fields['password'] = array('type' => 'text', 'ignore_representative' => TRUE);
More on representatives can be found here:
http://docs.getfuelcms.com/general/forms#representatives
I had also set a field 'URL' to be a text field (changed from a select), but it too rendered as a textarea. Is the reason the same?