|
|
|
@ -189,7 +189,17 @@ if (isset($personid) && $database->has('people', ['personid' => $personid])) {
|
|
|
|
|
"value" => $personinfo["phone2"],
|
|
|
|
|
"pattern" => "[0-9]{10}",
|
|
|
|
|
"error" => "Enter a 10-digit phone number (numbers only)."
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
[
|
|
|
|
|
"label" => "Unit #",
|
|
|
|
|
"name" => "unit",
|
|
|
|
|
"width" => 2,
|
|
|
|
|
"maxlength" => 4,
|
|
|
|
|
"pattern" => "[0-9]{3,4}",
|
|
|
|
|
"value" => $personinfo["unit"],
|
|
|
|
|
"optional" => true,
|
|
|
|
|
"error" => "Enter the unit number."
|
|
|
|
|
],
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
if ($type == "adult" || $type == "youth") {
|
|
|
|
|