From 00837a7bc1e7a0caf953e206625f64bc1a40a27f Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 30 Nov 2018 11:43:21 -0700 Subject: [PATCH] Split form into clearer sections --- public/parts/signup.php | 468 ++++++++++++++++++++++------------------ 1 file changed, 255 insertions(+), 213 deletions(-) diff --git a/public/parts/signup.php b/public/parts/signup.php index ae0fa64..848f869 100644 --- a/public/parts/signup.php +++ b/public/parts/signup.php @@ -6,182 +6,209 @@ */ ?>
-
-
+ +
+
-
- HACHE: Helena Area Christian Home Educators -
-

Membership Application

+
+ HACHE: Helena Area Christian Home Educators +
+

Membership Application

+
+
-
+
+
+

Basic Information

+
+
- "Family Name (Last Name)", - "icon" => "fas fa-users", - "name" => "familyname", - "maxlength" => 100 - ], - [ - "label" => "Father's Name", - "icon" => "fas fa-male", - "name" => "fathername", - "maxlength" => 255 - ], - [ - "label" => "Mother's Name", - "icon" => "fas fa-female", - "name" => "mothername", - "maxlength" => 255 - ], - [ - "label" => "Street Address", - "icon" => "fas fa-home", - "name" => "streetaddress", - "maxlength" => 500 - ], - [ - "label" => "City", - "icon" => "fas fa-city", - "name" => "city", - "maxlength" => 255, - "width" => 3 - ], - [ - "label" => "State", - "icon" => "fas fa-flag", - "name" => "state", - "maxlength" => 2, - "value" => "MT", - "width" => 2 - ], - [ - "label" => "ZIP/Postal Code", - "icon" => "fas fa-mail-bulk", - "name" => "zip", - "maxlength" => 20, - "width" => 3 - ], - [ - "label" => "Phone Number", - "icon" => "fas fa-phone", - "name" => "phone", - "maxlength" => 20 - ], - [ - "label" => "Email", - "icon" => "fas fa-at", - "name" => "email", - "maxlength" => 255, - "type" => "email", - ], - [ - "label" => "Newsletter Preference", - "icon" => "fas fa-newspaper", - "name" => "newsletter_method", - "type" => "select", - "options" => [ - "1" => "Email ($25)", - "2" => "Snail Mail ($35)", - "3" => "Email and Snail Mail ($35)" +
+ + "Family Name (Last Name)", + "icon" => "fas fa-users", + "name" => "familyname", + "maxlength" => 100 + ], + [ + "label" => "Father's Name", + "icon" => "fas fa-male", + "name" => "fathername", + "maxlength" => 255 + ], + [ + "label" => "Mother's Name", + "icon" => "fas fa-female", + "name" => "mothername", + "maxlength" => 255 + ], + [ + "label" => "Street Address", + "icon" => "fas fa-home", + "name" => "streetaddress", + "maxlength" => 500 + ], + [ + "label" => "City", + "icon" => "fas fa-city", + "name" => "city", + "maxlength" => 255, + "width" => 3 + ], + [ + "label" => "State", + "icon" => "fas fa-flag", + "name" => "state", + "maxlength" => 2, + "value" => "MT", + "width" => 2 + ], + [ + "label" => "ZIP/Postal Code", + "icon" => "fas fa-mail-bulk", + "name" => "zip", + "maxlength" => 20, + "width" => 3 + ], + [ + "label" => "Phone Number", + "icon" => "fas fa-phone", + "name" => "phone", + "maxlength" => 20 + ], + [ + "label" => "Email", + "icon" => "fas fa-at", + "name" => "email", + "maxlength" => 255, + "type" => "email", + ], + [ + "label" => "Newsletter Preference", + "icon" => "fas fa-newspaper", + "name" => "newsletter_method", + "type" => "select", + "options" => [ + "1" => "Email ($25)", + "2" => "Snail Mail ($35)", + "3" => "Email and Snail Mail ($35)" + ] ] - ] - ]; + ]; - foreach ($textboxes as $item) { - ?> + foreach ($textboxes as $item) { + ?> -
"> -
- -
-
- +
"> +
+ +
+
+ +
+ + " + name="" + class="form-control" + placeholder="" + aria-label="" + maxlength="" + required /> + + +
- - " - name="" - class="form-control" - placeholder="" - aria-label="" - maxlength="" - required /> - - -
-
- + +
+ +
+

+ These membership fees cover costs of the following: + phone; website; postage; distribution of newsletters and + directories; publication of materials; library; and other + HACHE related activities. Dues are reduced as of March 1st. + HACHE will not restrict membership based on inability to + pay. HACHE does not mandate curriculum choices or the + manner in which curriculum is administered. We do encourage + all members to follow and adhere to MT laws governing home + schooling. +

+
-
-

- These membership fees cover costs of the following: - phone; website; postage; distribution of newsletters and - directories; publication of materials; library; and other - HACHE related activities. Dues are reduced as of March 1st. - HACHE will not restrict membership based on inability to - pay. HACHE does not mandate curriculum choices or the - manner in which curriculum is administered. We do encourage - all members to follow and adhere to MT laws governing home - schooling. -

HACHE members occasionally take pictures of students during - home school functions and activities. These photos may be - used in HACHE displays, brochures, website, etc. -

I give permission for my photos to be included in such displays: - - - - - - - - +

+
+

Children

+
+
+
+

+ Please list your children's first names and birth dates. This + information will appear in our members’ directory. Members + agree that they will NOT make this information public. -


+
+ +
-

- Please list your children's first names and birth dates. This - information will appear in our members’ directory. Members - agree that they will NOT make this information public. +

+ Add another row +
-
-
+
+
-
- Add another row -
+
+
+

Consent

+
+
-
+
+

HACHE members occasionally take pictures of students during + home school functions and activities. These photos may be + used in HACHE displays, brochures, website, etc. +

I give permission for my photos to be included in such displays: + + + + + + + + +

@@ -192,81 +219,96 @@
-
+
-
-

HACHE is an all-volunteer organization. Listed below are events - and activities that may occur throughout the year. If you are - interested in helping with one or more of these events please - select any and all events of interest so we can get you in touch - with the member in charge of said event. Please feel free to - contact Steering Committee members or the newsletter editor with - ideas for field trips and or other activities that may be - enjoyed by all. (Not all of these events are specifically - HACHE events, but rather events HACHE supported events our - members have participated in and enjoyed in past years.) +

+
+

+ + + + + Activities +

- select('events', ['eventid (id)', 'event (name)']); +
+ +
+

HACHE is an all-volunteer organization. Listed below are events + and activities that may occur throughout the year. If you are + interested in helping with one or more of these events please + select any and all events of interest so we can get you in touch + with the member in charge of said event. Please feel free to + contact Steering Committee members or the newsletter editor with + ideas for field trips and or other activities that may be + enjoyed by all. (Not all of these events are specifically + HACHE events, but rather events HACHE supported events our + members have participated in and enjoyed in past years.) +

+ + select('events', ['eventid (id)', 'event (name)']); - $eventcount = count($events); + $eventcount = count($events); - $cola = []; - $colb = []; + $cola = []; + $colb = []; - for ($i = 0; $i < $eventcount; $i++) { - if ($i % 2 === 0) { - $cola[] = $events[$i]; - } else { - $colb[] = $events[$i]; + for ($i = 0; $i < $eventcount; $i++) { + if ($i % 2 === 0) { + $cola[] = $events[$i]; + } else { + $colb[] = $events[$i]; + } } - } - ?> + ?> -
+
-
-
    - -
  • -
    - - -
    -
  • +
    +
      -
    -
    - -
    -
      - +
    • +
      + + +
      +
    • + -
    • -
      - - -
      -
    • +
    +
    + +
    +
      -
    + foreach ($colb as $ev) { + ?> +
  • +
    + + +
    +
  • + +
+
-
+
-