Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update db schema and require surname #195

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
231 changes: 120 additions & 111 deletions app/forms/2.json
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"
}
]
}
]
Loading
Loading