AAAAhome/academiac/www/administrator/components/com_chronoforms/form_elements/input_container.ctp000060400000010707151374765230027237 0ustar00
Container
Collapse input('chronofield[{n}][input_container_{n}_area_label]', array('type' => 'hidden', 'id' => 'input_container_{n}_area_label', 'value' => $element_params['area_label'])); ?> input('chronofield[{n}][input_container_{n}_collapsed]', array('type' => 'hidden', 'id' => 'input_container_{n}_collapsed', 'value' => $element_params['collapsed'])); ?> input('chronofield[{n}][input_container_{n}_container_type]', array('type' => 'hidden', 'id' => 'input_container_{n}_container_type', 'value' => $element_params['container_type'])); ?> input('chronofield[{n}][input_container_{n}_container_class]', array('type' => 'hidden', 'id' => 'input_container_{n}_container_class', 'value' => $element_params['container_class'])); ?>
Header(array('settings' => 'Settings', 'help' => 'Help'), 'input_container_element_config_{n}'); ?> tabStart('settings'); ?> input('input_container_{n}_area_label_config', array('type' => 'text', 'label' => 'Area Label', 'class' => 'small_input', 'value' => '')); ?> input('input_container_{n}_container_type_config', array('type' => 'select', 'label' => 'Container Type', 'options' => array('' => 'Virtual (none)', 'div' => 'Div', 'fieldset' => 'Field Set', 'tabs_area' => 'Tabs Area', 'tab' => 'Tab', 'sliders_area' => 'Sliders Area', 'slider' => 'Slider', 'custom' => 'Custom'), 'smalldesc' => 'Virtual = no output, Custom mode output can be inserted below.')); ?> input('input_container_{n}_container_class_config', array('type' => 'text', 'label' => 'Container Class', 'class' => 'small_input', 'value' => '')); ?> input('input_container_{n}_start_code_config', array('type' => 'textarea', 'label' => 'Start Code', 'rows' => 5, 'cols' => 50, 'style' => 'width:380px !important;', 'smalldesc' => 'The code to be inserted at the start of the container when in "custom" mode.')); ?> input('input_container_{n}_end_code_config', array('type' => 'textarea', 'label' => 'End Code', 'rows' => 5, 'cols' => 50, 'style' => 'width:380px !important;', 'smalldesc' => 'The code to be inserted at the end of the container when in "custom" mode.')); ?> input('input_container_{n}_collapsed_config', array('type' => 'hidden', 'value' => '')); ?> tabEnd(); ?> tabStart('help'); ?> Select the container type and drag other elements inside, the "Virtual" type will not have any output in the form code, use it if you want to save space or oragnize your wizard view.

If you need a "Tabs" box then you will have to have multiple containers configured to "Tab" inside a parent container configured to "Tabs Area", same applies to "Sliders". tabEnd(); ?>