forked from science-ation/science-ation
Add grade to participant required fields
This commit is contained in:
parent
ebc7d7ad1d
commit
221213e1d8
@ -401,7 +401,7 @@ function user_role_field_required($role, $fieldname){
|
|||||||
$returnval = 0;
|
$returnval = 0;
|
||||||
$requiredFields = array(
|
$requiredFields = array(
|
||||||
'judge' => array('years_school','years_regional','years_national','languages'),
|
'judge' => array('years_school','years_regional','years_national','languages'),
|
||||||
'participant' => array('schools_id'),
|
'participant' => array('grade','schools_id'),
|
||||||
'fair' => array('fairs_id'),
|
'fair' => array('fairs_id'),
|
||||||
'sponsor' => array('sponsors_id','primary','position'),
|
'sponsor' => array('sponsors_id','primary','position'),
|
||||||
'volunteer' => array('languages')
|
'volunteer' => array('languages')
|
||||||
|
Loading…
Reference in New Issue
Block a user