Project

General

Profile

Hiring Technical Test (Webform) » History » Version 7

Jon Goldberg, 04/25/2022 10:30 PM

1 3 Jon Goldberg
{{last_updated_at}} by {{last_updated_by}}
2 1 Jon Goldberg
# Hiring Technical Test (Webform)
3
4
## Create a webform
5 6 Jon Goldberg
Please create the following form with on the website provided to you.  Using the CiviCRM integration module is encouraged but not required.
6 1 Jon Goldberg
7
### Form requirements
8
* The form should be titled, "Apply for a Scholarship".
9
* A short introduction should say, "Please apply for your scholarship" and include a picture of a cat.
10
* The following fields should exist: First name, last name, email, date of birth, country of residence, state of residence, an "Are you a resident of Quebec" yes/no, Facebook page (as a URL), phone number, a "Statement of Purpose" field (capable of holding 3 paragraphs of text) and an "Other information" (also capable of holding 1-3 paragraphs of text).  You have discretion on how to create the form and will be judged partly on user experience.
11 2 Jon Goldberg
* All fields should be required except for "Other information" and "phone number".  "State of residence" should not be required if the "country of residence" is not "United States".  The default country of residence should be "United States".  If the country selected isn't United States, hide the "State of Residence" question.  If the user selects Canada as their country, show the Quebec question; otherwise hide it.
12
* Provide help text below the "Statement of Purpose" reading, "Please share your statement of purpose."
13 5 Jon Goldberg
* Provide help text under the Facebook link saying, "This MUST be a URL".  Ensure an end user understands the value must start with `https://www.facebook.com` (with whatever you judge to provide the best user experience).
14 3 Jon Goldberg
* Reject any form submission without a required field, with a Facebook URL value not starting with `https://www.facebook.com`, residents of Rhode Island, or a date of birth that would put them under age 18 as of June 1st 2022.  Feel free to add any additional validation/formatting that will improve data quality and/or user experience.
15 6 Jon Goldberg
* On submission, direct them to a "thank you page" that says "Thank You for your Application."  An email with the relevant values should go to my email address; formatting is unimportant.
16 3 Jon Goldberg
* Feel free to add any additional functionality that showcases a skill related to form building.
17 4 Jon Goldberg
18
#### Tips
19
* If you need a cat pic, here's one: https://upload.wikimedia.org/wikipedia/commons/4/4d/Cat_March_2010-1.jpg
20
* You can create a new webform by going to the **Content** menu, selecting **Add Content**, then **Webform**.
21 7 Jon Goldberg
* Your form only has to work correctly for users who are not logged in.