Commit e326ecec authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review
Browse files

Merge "Making form consistent for required/optional fields (Bug #898470)"

parents 4735d5e5 628a2456
......@@ -196,6 +196,7 @@ if (!empty($institutions) &&
'collapseifoneoption' => false,
'options' => $options,
'defaultvalue' => key($options),
'rules' => array( 'required' => true ),
),
'studentid' => array(
'type' => 'text',
......
......@@ -595,7 +595,7 @@ $string['confirminvitation'] = 'Confirm invitation';
$string['joininstitution'] = 'Join institution';
$string['decline'] = 'Decline';
$string['requestmembershipofaninstitution'] = 'Request membership of an institution';
$string['optionalinstitutionid'] = 'Institution ID (optional)';
$string['optionalinstitutionid'] = 'Institution ID';
$string['institutionmemberconfirmsubject'] = 'Institution membership confirmation';
$string['institutionmemberconfirmmessage'] = 'You have been added as a member of %s.';
$string['institutionmemberrejectsubject'] = 'Institution membership request declined';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment