AAAAhome/academiac/www/administrator/components/com_chronoforms/form_elements/input_textarea.ctp000060400000021213151374477340027066 0ustar00
Text Area
input('chronofield[{n}][input_textarea_{n}_input_id]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_id', 'value' => $element_params['input_id'])); ?> input('chronofield[{n}][input_textarea_{n}_label_text]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_label_text', 'value' => $element_params['label_text'])); ?> input('chronofield[{n}][input_textarea_{n}_input_name]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_name', 'value' => $element_params['input_name'])); ?> input('chronofield[{n}][input_textarea_{n}_input_value]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_value', 'value' => $element_params['input_value'])); ?> input('chronofield[{n}][input_textarea_{n}_input_class]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_class', 'value' => $element_params['input_class'])); ?> input('chronofield[{n}][input_textarea_{n}_input_title]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_title', 'value' => $element_params['input_title'])); ?> input('chronofield[{n}][input_textarea_{n}_label_over]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_label_over', 'value' => $element_params['label_over'])); ?> input('chronofield[{n}][input_textarea_{n}_hide_label]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_hide_label', 'value' => $element_params['hide_label'])); ?> input('chronofield[{n}][input_textarea_{n}_input_cols]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_cols', 'value' => $element_params['input_cols'])); ?> input('chronofield[{n}][input_textarea_{n}_input_rows]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_input_rows', 'value' => $element_params['input_rows'])); ?> input('chronofield[{n}][input_textarea_{n}_wysiwyg_editor]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_wysiwyg_editor', 'value' => $element_params['wysiwyg_editor'])); ?> input('chronofield[{n}][input_textarea_{n}_editor_buttons]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_editor_buttons', 'value' => $element_params['editor_buttons'])); ?> input('chronofield[{n}][input_textarea_{n}_editor_width]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_editor_width', 'value' => $element_params['editor_width'])); ?> input('chronofield[{n}][input_textarea_{n}_editor_height]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_editor_height', 'value' => $element_params['editor_height'])); ?> input('chronofield[{n}][input_textarea_{n}_multiline_start]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_multiline_start', 'value' => $element_params['multiline_start'])); ?> input('chronofield[{n}][input_textarea_{n}_multiline_add]', array('type' => 'hidden', 'id' => 'input_textarea_{n}_multiline_add', 'value' => $element_params['multiline_add'])); ?>
Header(array('general' => 'General', 'other' => 'Other', 'editors' => 'Editors', 'validation' => 'Validation'), 'input_textarea_element_config_{n}'); ?> tabStart('general'); ?> input('input_textarea_{n}_label_text_config', array('type' => 'text', 'label' => 'Label Text', 'class' => 'small_input', 'value' => '')); ?> input('input_textarea_{n}_input_name_config', array('type' => 'text', 'label' => 'Field Name', 'class' => 'small_input', 'value' => '', 'smalldesc' => 'No spaces or any special characters, but underscores _ and square brackets [] are allowed.')); ?> input('input_textarea_{n}_input_value_config', array('type' => 'text', 'label' => 'Field Default Value', 'class' => 'small_input', 'value' => '')); ?> input('input_textarea_{n}_input_cols_config', array('type' => 'text', 'label' => 'Field Columns', 'class' => 'small_input', 'value' => '')); ?> input('input_textarea_{n}_input_rows_config', array('type' => 'text', 'label' => 'Field Rows', 'class' => 'small_input', 'value' => '')); ?> input('input_textarea_{n}_input_title_config', array('type' => 'text', 'label' => 'Field title', 'class' => 'small_input', 'value' => '', 'smalldesc' => 'Change this to override the default JS validation error message.')); ?> input('input_textarea_{n}_input_id_config', array('type' => 'text', 'label' => 'Field ID', 'class' => 'small_input', 'value' => '')); ?> input('input_textarea_{n}_input_class_config', array('type' => 'text', 'label' => 'Field Class', 'class' => 'small_input', 'value' => '')); ?> tabEnd(); ?> tabStart('other'); ?> input('input_textarea_{n}_label_over_config', array('type' => 'checkbox', 'label' => 'Label Over', 'value' => '1', 'rule' => "bool")); ?> input('input_textarea_{n}_hide_label_config', array('type' => 'checkbox', 'label' => 'Hide Label', 'value' => '1', 'rule' => "bool")); ?> input('input_textarea_{n}_instructions_config', array('type' => 'textarea', 'label' => 'Instructions for users', 'rows' => 5, 'cols' => 50)); ?> input('input_textarea_{n}_tooltip_config', array('type' => 'textarea', 'label' => 'Tooltip', 'rows' => 5, 'cols' => 50)); ?> input('input_textarea_{n}_multiline_start_config', array('type' => 'checkbox', 'label' => 'Start a Multi field row', 'value' => '1', 'rule' => "bool")); ?> input('input_textarea_{n}_multiline_add_config', array('type' => 'checkbox', 'label' => 'Add to a Multi field row', 'value' => '1', 'rule' => "bool")); ?> tabEnd(); ?> tabStart('editors'); ?> input('input_textarea_{n}_wysiwyg_editor_config', array('type' => 'checkbox', 'label' => 'Enable WYSIWYG Editor', 'value' => '1', 'rule' => "bool", 'smalldesc' => 'Enable the WYSIWYG editor for this text area ?')); ?> input('input_textarea_{n}_editor_buttons_config', array('type' => 'checkbox', 'label' => 'Show editor buttons', 'value' => '1', 'rule' => "bool", 'smalldesc' => 'Enable the editor buttons ?')); ?> input('input_textarea_{n}_editor_width_config', array('type' => 'text', 'label' => 'Editor Width', 'class' => 'small_input', 'value' => '')); ?> input('input_textarea_{n}_editor_height_config', array('type' => 'text', 'label' => 'Wditor Height', 'class' => 'small_input', 'value' => '')); ?> tabEnd(); ?> tabStart('validation'); ?> input('input_textarea_{n}_validations_config', array('type' => 'checkbox', 'label' => 'Required', 'class' => 'small_input', 'value' => 'required', 'rule' => "split", 'splitter' => ",")); ?> tabEnd(); ?>