0, 'missing'=>$ret);
if(count($incomplete_errors) > 0)
$response['error'] = join('
', $incomplete_errors);
form_ajax_response($response);
exit();
}
$help = "
', $incomplete_errors);
form_page_begin($page_id, $fields, $e);
form_disable_message($page_id, $closed, $u['s_accepted']);
$chals = challenges_load($mysqli);
$cats = categories_load($mysqli);
$legal_ids = project_get_legal_category_ids($mysqli, $p['pid']);
if($config['judge_scheduler_use_detailed_subdivisions'] == 1) {
$isef_data = isef_get_div_names();
} else {
$isef_data = isef_get_major_div_names();
}
foreach($chals as $cid=>$c) {
$chals_data[$cid] = $c['name'];
}
if(array_key_exists($p['cat_id'], $cats)) {
$cat_name = $cats[$p['cat_id']]['name'];
} else {
$cat_name = "Your age category is automatically selected when you select your grade";
}
?>
Project Information
(for judge matching)", $isef_data, $p);
form_lang($form_id, 'language', "Judging Language", $p);
form_yesno($form_id, 'req_electricity', "Electricity Needed", $p);
form_textbox($form_id, 'tagline', "One-Sentence Summary", $p,
$config['s_tagline_min_words'], $config['s_tagline_max_words']);
form_textbox($form_id, 'abstract', "Abstract", $p,
$config['s_abstract_min_words'], $config['s_abstract_max_words']);
form_submit($form_id, 'save', 'Save', 'Project Saved');
form_end($form_id);
?>