A couple of form questions
1) How can I setup a multi-column form using the Form Builder?
2) How can I just display a value (that I don't want the user to change) using the Form Builder? Such as a user name which I want shown but not editable.
Thanks in advance.
Comments
2) There are readonly and displayonly properties you can set on Form Builder to tell it what fields to either set as readonly (inputs stilly show, just can't change), or display only which just the value is displayed.
http://www.getfuelcms.com/user_guide/libraries/form_builder
Here is the syntax I am using
$fields['collection_priority'] = array('type' => 'checkbox', 'value' => '1', 'readonly' => TRUE);
I have also tried
$fields['collection_priority'] = array('type' => 'checkbox', 'value' => '1', 'readonly' => 'readonly');
Displayonly works but I need readonly to work
http://stackoverflow.com/questions/155291/can-html-checkboxes-be-set-to-readonly