AAAAhome/academiac/www/administrator/components/com_chronoforms/form_elements/input_file.ctp 0000604 00000015177 15137440317 0026172 0 ustar 00
File Upload
input('chronofield[{n}][input_file_{n}_input_id]', array('type' => 'hidden', 'id' => 'input_file_{n}_input_id', 'value' => $element_params['input_id'])); ?>
input('chronofield[{n}][input_file_{n}_label_text]', array('type' => 'hidden', 'id' => 'input_file_{n}_label_text', 'value' => $element_params['label_text'])); ?>
input('chronofield[{n}][input_file_{n}_input_name]', array('type' => 'hidden', 'id' => 'input_file_{n}_input_name', 'value' => $element_params['input_name'])); ?>
input('chronofield[{n}][input_file_{n}_input_class]', array('type' => 'hidden', 'id' => 'input_file_{n}_input_class', 'value' => $element_params['input_class'])); ?>
input('chronofield[{n}][input_file_{n}_input_title]', array('type' => 'hidden', 'id' => 'input_file_{n}_input_title', 'value' => $element_params['input_title'])); ?>
input('chronofield[{n}][input_file_{n}_label_over]', array('type' => 'hidden', 'id' => 'input_file_{n}_label_over', 'value' => $element_params['label_over'])); ?>
input('chronofield[{n}][input_file_{n}_hide_label]', array('type' => 'hidden', 'id' => 'input_file_{n}_hide_label', 'value' => $element_params['hide_label'])); ?>
input('chronofield[{n}][input_file_{n}_ghost]', array('type' => 'hidden', 'id' => 'input_file_{n}_ghost', 'value' => $element_params['ghost'])); ?>
input('chronofield[{n}][input_file_{n}_ghost_value]', array('type' => 'hidden', 'id' => 'input_file_{n}_ghost_value', 'value' => $element_params['ghost_value'])); ?>
input('chronofield[{n}][input_file_{n}_multiline_start]', array('type' => 'hidden', 'id' => 'input_file_{n}_multiline_start', 'value' => $element_params['multiline_start'])); ?>
input('chronofield[{n}][input_file_{n}_multiline_add]', array('type' => 'hidden', 'id' => 'input_file_{n}_multiline_add', 'value' => $element_params['multiline_add'])); ?>
Header(array('general' => 'General', 'other' => 'Other', 'validation' => 'Validation', 'ghost' => 'Ghost'), 'input_file_element_config_{n}'); ?>
tabStart('general'); ?>
input('input_file_{n}_label_text_config', array('type' => 'text', 'label' => 'Label Text', 'class' => 'small_input', 'value' => '')); ?>
input('input_file_{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_file_{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_file_{n}_input_id_config', array('type' => 'text', 'label' => 'Field ID', 'class' => 'small_input', 'value' => '')); ?>
input('input_file_{n}_input_class_config', array('type' => 'text', 'label' => 'Field Class', 'class' => 'small_input', 'value' => '')); ?>
tabEnd(); ?>
tabStart('other'); ?>
input('input_file_{n}_label_over_config', array('type' => 'checkbox', 'label' => 'Label Over', 'value' => '1', 'rule' => "bool")); ?>
input('input_file_{n}_hide_label_config', array('type' => 'checkbox', 'label' => 'Hide Label', 'value' => '1', 'rule' => "bool")); ?>
input('input_file_{n}_instructions_config', array('type' => 'textarea', 'label' => 'Instructions for users', 'rows' => 5, 'cols' => 50)); ?>
input('input_file_{n}_tooltip_config', array('type' => 'textarea', 'label' => 'Tooltip', 'rows' => 5, 'cols' => 50)); ?>
input('input_file_{n}_multiline_start_config', array('type' => 'checkbox', 'label' => 'Start a Multi field row', 'value' => '1', 'rule' => "bool")); ?>
input('input_file_{n}_multiline_add_config', array('type' => 'checkbox', 'label' => 'Add to a Multi field row', 'value' => '1', 'rule' => "bool")); ?>
tabEnd(); ?>
tabStart('validation'); ?>
input('input_file_{n}_validations_config', array('type' => 'checkbox', 'label' => 'Required', 'class' => 'small_input', 'value' => 'required', 'rule' => "split", 'splitter' => ",")); ?>
tabEnd(); ?>
tabStart('ghost'); ?>
input('input_file_{n}_ghost_config', array('type' => 'checkbox', 'label' => 'Enable Ghost', 'class' => 'small_input', 'value' => '1', 'rule' => "bool", 'smalldesc' => 'The ghost is a hidden field with the same name to assure that a key with this field name always exists in the POST array.')); ?>
input('input_file_{n}_ghost_value_config', array('type' => 'text', 'label' => 'Ghost Value', 'value' => '', 'class' => 'medium_input', 'smalldesc' => 'Value here will appear if no choice has been made.')); ?>
tabEnd(); ?>