-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update db schema and require surname
- Loading branch information
Showing
9 changed files
with
467 additions
and
402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,122 @@ | ||
[ | ||
{ | ||
"label": "About You", | ||
"input": "h1", | ||
"elements": [ | ||
{ | ||
"label": "We need to know who you are and to see if you are a Knight.", | ||
"input": "p" | ||
}, | ||
{ | ||
"label": "First Name", | ||
"caption": "Your (preferred) first name.", | ||
"input": "text", | ||
"key": "first_name", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Surname", | ||
"caption": "The rest of your name, including middle name if you have one, and your last name.", | ||
"input": "text", | ||
"key": "surname" | ||
}, | ||
{ | ||
"label": "Preferred Email", | ||
"caption": "We’ll use this to reach out to you if we need to.", | ||
"input": "email", | ||
"key": "email", | ||
"required": true | ||
}, | ||
{ | ||
"label": "NID", | ||
"caption": "This is the UCF identifier with two letters and six numbers. It's in your school email!", | ||
"input": "nid", | ||
"key": "nid", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Are You Returning?", | ||
"caption": "If so, welcome back! If not, welcome to Hack@UCF!", | ||
"input": "radio", | ||
"options": ["Yes", "No"], | ||
"key": "is_returning", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Minecraft username", | ||
"caption": "If you have a Minecraft account, put your username here to join our members-only Minecraft server.", | ||
"input": "text", | ||
"key": "minecraft", | ||
"required": false | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "The following are used to get an idea of our demographics:", | ||
"input": "h2", | ||
"elements": [ | ||
{ | ||
"label": "Gender", | ||
"input": "radio", | ||
"options": ["Male", "Female", "Other / Prefer Not To Answer"], | ||
"key": "gender", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Major", | ||
"input": "dropdown", | ||
"other": true, | ||
"options": [ | ||
"Computer Science", | ||
"Information Technology", | ||
"Computer Engineering", | ||
"Electrical Engineering", | ||
"Digital Forensics", | ||
"Cybersecurity and Privacy" | ||
], | ||
"key": "major", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Class Standing", | ||
"caption": "(by credit hours)", | ||
"input": "dropdown", | ||
"other": true, | ||
"options": [ | ||
"Freshman (0-29 credits)", | ||
"Sophomore (30-59 credits)", | ||
"Junior (60-89 credits)", | ||
"Senior (> 90 credits)", | ||
"Post-Bacc (secondary Bachelors)", | ||
"Master’s", | ||
"PhD" | ||
], | ||
"key": "class_standing", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Shirt Size", | ||
"caption": "Members get a free Hack@UCF t-shirt thanks to our sponsors!", | ||
"input": "radio", | ||
"options": ["S", "M", "L", "XL", "2XL", "3XL"], | ||
"key": "shirt_size", | ||
"required": true | ||
}, | ||
{ | ||
"input": "navigation", | ||
"next": "/join/3", | ||
"prev": "/", | ||
"prev_label": "Cancel" | ||
} | ||
] | ||
} | ||
{ | ||
"label": "About You", | ||
"input": "h1", | ||
"elements": [ | ||
{ | ||
"label": "We need to know who you are and to see if you are a Knight.", | ||
"input": "p" | ||
}, | ||
{ | ||
"label": "First Name", | ||
"caption": "Your (preferred) first name.", | ||
"input": "text", | ||
"key": "first_name", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Surname", | ||
"caption": "The rest of your name, including middle name if you have one, and your last name.", | ||
"input": "text", | ||
"key": "surname", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Preferred Email", | ||
"caption": "We’ll use this to reach out to you if we need to.", | ||
"input": "email", | ||
"key": "email", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Are you a UCF student?", | ||
"caption": "If you are not a student fill out this form instead <a href='https://hackucf.org/join/non_ucf'>here</a>.", | ||
"input": "radio", | ||
"options": ["Yes", "No"], | ||
"key": "ucf_student", | ||
"required": true | ||
}, | ||
{ | ||
"label": "NID", | ||
"caption": "This is the UCF identifier with two letters and six numbers. It's in your school email!", | ||
"input": "nid", | ||
"key": "nid", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Are You Returning?", | ||
"caption": "If so, welcome back! If not, welcome to Hack@UCF!", | ||
"input": "radio", | ||
"options": ["Yes", "No"], | ||
"key": "is_returning", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Minecraft username", | ||
"caption": "If you have a Minecraft account, put your username here to join our members-only Minecraft server.", | ||
"input": "text", | ||
"key": "minecraft", | ||
"required": false | ||
} | ||
] | ||
}, | ||
{ | ||
"label": "The following are used to get an idea of our demographics:", | ||
"input": "h2", | ||
"elements": [ | ||
{ | ||
"label": "Gender", | ||
"input": "radio", | ||
"options": ["Male", "Female", "Other / Prefer Not To Answer"], | ||
"key": "gender", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Major", | ||
"input": "dropdown", | ||
"other": true, | ||
"options": [ | ||
"Computer Science", | ||
"Information Technology", | ||
"Computer Engineering", | ||
"Electrical Engineering", | ||
"Digital Forensics", | ||
"Cybersecurity and Privacy" | ||
], | ||
"key": "major", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Class Standing", | ||
"caption": "(by credit hours)", | ||
"input": "dropdown", | ||
"other": true, | ||
"options": [ | ||
"Freshman (0-29 credits)", | ||
"Sophomore (30-59 credits)", | ||
"Junior (60-89 credits)", | ||
"Senior (> 90 credits)", | ||
"Post-Bacc (secondary Bachelors)", | ||
"Master’s", | ||
"PhD" | ||
], | ||
"key": "class_standing", | ||
"required": true | ||
}, | ||
{ | ||
"label": "Shirt Size", | ||
"caption": "Members get a free Hack@UCF t-shirt thanks to our sponsors!", | ||
"input": "radio", | ||
"options": ["S", "M", "L", "XL", "2XL", "3XL"], | ||
"key": "shirt_size", | ||
"required": true | ||
}, | ||
{ | ||
"input": "navigation", | ||
"next": "/join/3", | ||
"prev": "/", | ||
"prev_label": "Cancel" | ||
} | ||
] | ||
} | ||
] |
Oops, something went wrong.