function form_builder_webform_property_cols_form in Form Builder 7.2
Configuration form for the "cols" property.
1 string reference to 'form_builder_webform_property_cols_form'
- form_builder_webform_form_builder_properties in modules/
webform/ form_builder_webform.module - Implements hook_form_builder_properties().
File
- modules/
webform/ form_builder_webform.properties.inc, line 316 - form_builder_webform.properties.inc Implementations of hook_form_builder_properties in separate functions.
Code
function form_builder_webform_property_cols_form($component, $edit, &$form_state, $property) {
$form = array();
$form['cols'] = array(
'#form_builder' => array(
'property_group' => 'display',
),
'#type' => 'textfield',
'#size' => 6,
'#title' => t('Columns'),
'#default_value' => $component['extra']['cols'],
'#weight' => 3,
'#description' => t('The width of the textarea. This property might not have a visual impact depending on the CSS of your site.'),
);
return $form;
}