update form to ask previous sw question

This commit is contained in:
Nathan Coad
2019-09-10 09:49:26 +10:00
parent 5d848794b9
commit 47fcbd04f2
3 changed files with 27 additions and 2 deletions

View File

@@ -130,7 +130,19 @@ function _get_tshirt_options() {
return $options_array;
}
/**
* Helper function to provide a list of options for the previous study week count field of the registration form
*/
function _get_previous_sw_options() {
$options_array = array();
$options_array[''] = '';
for ($i = 0; $i < 6; $i++) {
$options_array[$i] = $i;
}
return $options_array;
}
/**
* Helper function to look up description of studygroup role