AAAAhome/academiac/www/administrator/components/com_chronoforms/views/easy_wizard_db_save.php000060400000003225151372376750026341 0ustar00 startPane('db_save'); ?> startPanel('DB Connection', 'db_save_'.$i); ?> input('chronoaction['.$i.'][action_db_save_'.$i.'_enabled]', array('type' => 'select', 'label' => 'Enabled', 'options' => array(0 => 'No', 1 => 'Yes'))); ?> getTableList(); $options = array(); foreach($tables as $table){ $options[$table] = $table; } ?> input('chronoaction['.$i.'][action_db_save_'.$i.'_table_name]', array('type' => 'select', 'label' => 'Table', 'options' => $options, 'empty' => " - ", 'class' => 'medium_input', 'smalldesc' => "The database table where the form data will be stored.
if you didn't create a table for your form yet then you can do this in the Forms Manager.")); ?> input('chronoaction['.$i.'][action_db_save_'.$i.'_save_under_modelid]', array('type' => 'hidden', 'value' => 0)); ?> input('chronoaction_id['.$i.']', array('type' => 'hidden', 'value' => $i)); ?> input('chronoaction['.$i.'][type]', array('type' => 'hidden', 'value' => 'db_save')); ?> endPanel(); ?> endPane(); ?>