Added code to dynamically update the qualifiers from the Qualtrics database
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
<script src="./drawbar.js"></script>
|
||||
<script src="./savesvg.js"></script>
|
||||
<script src="./populateGraphics.js"></script>
|
||||
<script src="./insertQualifiers.js"></script>
|
||||
|
||||
<style>
|
||||
body {
|
||||
@@ -92,34 +93,24 @@
|
||||
<label for="surveyId">Survey iD</label>
|
||||
<input type="text" id="surveyId" name="surveyId" />
|
||||
<br>
|
||||
<button type="button" onclick="getSurveyData()">Submit</button>
|
||||
</form>
|
||||
|
||||
<br>
|
||||
<div style="visibility: hidden" id="groupings">
|
||||
<form>
|
||||
<label for="location">Where do you work in the organisation?:</label>
|
||||
<label for="location">Where do you work in the organisation?:</label><br>
|
||||
<select id="location" name="location">
|
||||
<option value="0">Any</option>
|
||||
<option value="1">Site 1</option>
|
||||
<option value="2">Site 2</option>
|
||||
</select>
|
||||
<br>
|
||||
<label for="level">Where operational level do you work at in the organisation?:</label>
|
||||
<label for="level">Where operational level do you work at in the organisation?:</label><br>
|
||||
<select id="level" name="level">
|
||||
<option value="0">Any</option>
|
||||
<option value="1">Role 1</option>
|
||||
<option value="2">Role 2</option>
|
||||
</select>
|
||||
<br>
|
||||
<label for="gov">Have you ever held one of the following roles in our business?:</label>
|
||||
<label for="gov">Have you ever held one of the following roles in our business?:</label><br>
|
||||
<select id="gov" name="gov">
|
||||
<option value="0">Any</option>
|
||||
<option value="1">Yes</option>
|
||||
<option value="2">No</option>
|
||||
</select>
|
||||
<br>
|
||||
<button type="button" onclick="getGroupAll()">Submit</button>
|
||||
<br>
|
||||
<button type="button" onclick="insertQualifiers(); getSurveyData();">Submit</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user