AAAAhome/academiac/www/administrator/components/com_chronoforms/views/create_table.php000060400000021424151372317360024740 0ustar00 $default_data){ if((int)preg_match("/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/", $default) == 0){ $wrong_inputs[] = $default; JError::raiseWarning(200, 'Field name "'.$default.'" is invalid, please fix the field name in the wizard (or the form code) then retry again.'); } } if(!empty($wrong_inputs)){ JError::raiseNotice(200, 'A valid variable name starts with a letter or underscore, followed by any number of letters, numbers, or underscores.'); } ?>
input('_cf_table_name', array('label' => 'Table Name', 'value' => '#__chronoforms_data_'.str_replace("-", "_", $row->name), 'class' => 'medium_input', 'smalldesc' => 'Enter the table name here, no spaces or any special characters, underscores allowed.')); ?> $default_data): ?>
# Field name Enabled Type Length Primary key Default Extra Null
onclick="isChecked(this.checked);" /> />