master
Skylar Ittner 5 years ago
parent 3e5c79f65d
commit f2db1f66a4

Binary file not shown.

@ -15,7 +15,7 @@ if (!empty($_GET["type"]) && preg_match("/^(camper|adult|youth)$/", $_GET["type"
$type = $persontype;
}
$personinfo = ["firstname" => "", "lastname" => "", "address" => "", "zip" => "", "phone1" => "", "phone2" => "", "email" => "", "unit" => "", "shirt" => ""];
$personinfo = ["firstname" => "", "lastname" => "", "address" => "", "zip" => "", "phone1" => "", "phone2" => "", "email" => "", "unit" => "", "shirt" => "", "sex" => ""];
switch ($type) {
case "camper":
@ -234,7 +234,20 @@ if (isset($personid) && $database->has('people', ['personid' => $personid])) {
"A2" => "Adult 2X Large"
],
"error" => "Choose a shirt size."
]
],
[
"label" => "Gender",
"name" => "sex",
"type" => "select",
"width" => 3,
"value" => $personinfo["sex"],
"options" => [
"" => "Choose...",
"M" => "Male",
"F" => "Female"
],
"error" => "Choose a gender."
],
]);
foreach ($textboxes as $item) {

Loading…
Cancel
Save