|
@@ -44,11 +44,13 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div id="personal-information" class="content page page-2">
|
|
<div id="personal-information" class="content page page-2">
|
|
|
<h2>Personal Information</h2>
|
|
<h2>Personal Information</h2>
|
|
|
|
|
+ <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Doloremque suscipit nulla animi amet minima, recusandae, nostrum ab vero temporibus ducimus deleniti quisquam in quod expedita dolore? Eos veritatis alias magni.</p>
|
|
|
|
|
+ <p>All fields are required</p>
|
|
|
<form id="personal-information-form" class="needs-validation">
|
|
<form id="personal-information-form" class="needs-validation">
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
<label for="age-range">Age</label>
|
|
<label for="age-range">Age</label>
|
|
|
- <select id="age-range" class="custom-select form-control">
|
|
|
|
|
- <option selected disabled>Select an age</option>
|
|
|
|
|
|
|
+ <select id="age-range" class="custom-select form-control" required>
|
|
|
|
|
+ <option value="" selected disabled>Please select an option</option>
|
|
|
<option value="1">11 - 17</option>
|
|
<option value="1">11 - 17</option>
|
|
|
<option value="2">18 - 29</option>
|
|
<option value="2">18 - 29</option>
|
|
|
<option value="3">30 - 45</option>
|
|
<option value="3">30 - 45</option>
|
|
@@ -56,13 +58,11 @@
|
|
|
<option value="5">60 - 69</option>
|
|
<option value="5">60 - 69</option>
|
|
|
<option value="6">70+</option>
|
|
<option value="6">70+</option>
|
|
|
</select>
|
|
</select>
|
|
|
- <div class="invalid-feedback">
|
|
|
|
|
- Age is required
|
|
|
|
|
- </div>
|
|
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
<label for="gender">Gender</label>
|
|
<label for="gender">Gender</label>
|
|
|
- <select class="form-control custom-select" id="gender" custom-value="gender-custom" onChange="showCustomInput('gender-custom', this)">
|
|
|
|
|
|
|
+ <select class="form-control custom-select" id="gender" custom-value="gender-custom" onChange="showCustomInput('gender-custom', this)" required>
|
|
|
|
|
+ <option value="" selected disabled>Please select an option</option>
|
|
|
<option value="male">Male</option>
|
|
<option value="male">Male</option>
|
|
|
<option value="female">Female</option>
|
|
<option value="female">Female</option>
|
|
|
<option value="other">Neither, I identify as follows</option>
|
|
<option value="other">Neither, I identify as follows</option>
|
|
@@ -71,8 +71,8 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-group">
|
|
<div class="form-group">
|
|
|
<label for="ethnicity">Ethnicity</label>
|
|
<label for="ethnicity">Ethnicity</label>
|
|
|
- <select id="ethnicity" class="form-control custom-select" custom-value="ethnicity-custom" onChange="showCustomInput('ethnicity-custom', this)">
|
|
|
|
|
- <option value="" selected="selected" disabled="disabled">Please select</option>
|
|
|
|
|
|
|
+ <select id="ethnicity" class="form-control custom-select" custom-value="ethnicity-custom" onChange="showCustomInput('ethnicity-custom', this)" required>
|
|
|
|
|
+ <option value="" selected disabled>Please select an option</option>
|
|
|
<optgroup label="White">
|
|
<optgroup label="White">
|
|
|
<option value="English/Welsh/Scottish/Northern Irish/British">English/Welsh/Scottish/Northern Irish/British</option>
|
|
<option value="English/Welsh/Scottish/Northern Irish/British">English/Welsh/Scottish/Northern Irish/British</option>
|
|
|
<option value="Irish">Irish</option>
|
|
<option value="Irish">Irish</option>
|
|
@@ -103,13 +103,19 @@
|
|
|
The options above are taken from the 2011 UK Census. You can also define yours selecting the 'None of the above' option and typing in the text box
|
|
The options above are taken from the 2011 UK Census. You can also define yours selecting the 'None of the above' option and typing in the text box
|
|
|
</small>
|
|
</small>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="row">
|
|
|
|
|
- <div class="col-md-12 mb-3">
|
|
|
|
|
- <label for="postal-code">Postal code</label>
|
|
|
|
|
- <input type="text" class="form-control" id="postal-code"/>
|
|
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <label for="town-birth">Town of birth</label>
|
|
|
|
|
+ <input id="town-birth" type="text" class="form-control" required/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="form-group">
|
|
|
|
|
+ <label for="postal-code">Current postal code</label>
|
|
|
|
|
+ <input id="postal-code" type="text" class="form-control" required/>
|
|
|
|
|
+ <div class="form-group form-check">
|
|
|
|
|
+ <input type="checkbox" class="form-check-input" id="long-time-resident" >
|
|
|
|
|
+ <label class="form-check-label" for="long-time-resident">I have lived in the area for 1/2 years</label>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <button type="button">Next</button>
|
|
|
|
|
|
|
+ <button type="button" onclick="changePage(3, 'personalInformation')" class="btn btn-primary">Next</button>
|
|
|
</form>
|
|
</form>
|
|
|
</div>
|
|
</div>
|
|
|
<div id="map-drawing" class="content page page-3">
|
|
<div id="map-drawing" class="content page page-3">
|