Commit 628a2456 authored by Robert Lyon's avatar Robert Lyon
Browse files

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



Change-Id: I87d1d4fd7d8c305f0cdd0623f1d9370bda278bd5
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent c369bef4
...@@ -196,6 +196,7 @@ if (!empty($institutions) && ...@@ -196,6 +196,7 @@ if (!empty($institutions) &&
'collapseifoneoption' => false, 'collapseifoneoption' => false,
'options' => $options, 'options' => $options,
'defaultvalue' => key($options), 'defaultvalue' => key($options),
'rules' => array( 'required' => true ),
), ),
'studentid' => array( 'studentid' => array(
'type' => 'text', 'type' => 'text',
......
...@@ -595,7 +595,7 @@ $string['confirminvitation'] = 'Confirm invitation'; ...@@ -595,7 +595,7 @@ $string['confirminvitation'] = 'Confirm invitation';
$string['joininstitution'] = 'Join institution'; $string['joininstitution'] = 'Join institution';
$string['decline'] = 'Decline'; $string['decline'] = 'Decline';
$string['requestmembershipofaninstitution'] = 'Request membership of an institution'; $string['requestmembershipofaninstitution'] = 'Request membership of an institution';
$string['optionalinstitutionid'] = 'Institution ID (optional)'; $string['optionalinstitutionid'] = 'Institution ID';
$string['institutionmemberconfirmsubject'] = 'Institution membership confirmation'; $string['institutionmemberconfirmsubject'] = 'Institution membership confirmation';
$string['institutionmemberconfirmmessage'] = 'You have been added as a member of %s.'; $string['institutionmemberconfirmmessage'] = 'You have been added as a member of %s.';
$string['institutionmemberrejectsubject'] = 'Institution membership request declined'; $string['institutionmemberrejectsubject'] = 'Institution membership request declined';
......
Supports Markdown
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