Skip to content

Instantly share code, notes, and snippets.

@amberhinds
Last active November 11, 2021 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amberhinds/b019056a23b69cc5342c9d919c420651 to your computer and use it in GitHub Desktop.
Save amberhinds/b019056a23b69cc5342c9d919c420651 to your computer and use it in GitHub Desktop.
This shows the current (incorrect) HTML in the likert field
<div id="field_2_3" class="gfield gfield_contains_required field_sublabel_below field_description_above gfield_visibility_visible gsurvey-survey-field " data-field-class="gsurvey-survey-field">
<label class="gfield_label">Were you satisfied with the overall TA or support you received?
<span class="gfield_required">
<span class="gfield_required gfield_required_asterisk"> * <span class="sr-only"> Required</span>
</span></span>
</label>
<div class="ginput_container ginput_container_likert">
<table class="gsurvey-likert" id="input_2_3">
<thead>
<tr>
<th scope="col" class="gsurvey-likert-choice-label">Yes</th>
<th scope="col" class="gsurvey-likert-choice-label">Somewhat</th>
<th scope="col" class="gsurvey-likert-choice-label">No</th>
<th scope="col" class="gsurvey-likert-choice-label">I'm not sure</th>
</tr>
</thead>
<tbody>
<tr>
<td data-label="Yes" class="gsurvey-likert-choice">
<input name="input_3" type="radio" value="glikertcol3024d7353" id="choice_2_3_1" class="">
</td>
<td data-label="Somewhat" class="gsurvey-likert-choice">
<input name="input_3" type="radio" value="glikertcol39bdeefa2" id="choice_2_3_2" class="">
</td>
<td data-label="No" class="gsurvey-likert-choice gsurvey-likert-selected">
<input name="input_3" type="radio" value="glikertcol329bbaa5e" id="choice_2_3_3" class="">
</td>
<td data-label="I'm not sure" class="gsurvey-likert-choice">
<input name="input_3" type="radio" value="glikertcol33309cb6c" id="choice_2_3_4" class="">
</td>
</tr>
</tbody>
</table>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment