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

Add checkbox choices created with datatype object_checkbox #34

Closed
plocket opened this issue Feb 10, 2021 · 0 comments
Closed

Add checkbox choices created with datatype object_checkbox #34

plocket opened this issue Feb 10, 2021 · 0 comments
Labels
add field Stuff relating to adding new fields to the test interviews

Comments

@plocket
Copy link
Collaborator

plocket commented Feb 10, 2021

<div class="form-group row darequired da-field-container da-field-container-datatype-object_checkboxes da-field-container-inputtype-checkboxes da-field-container-nolabel">
  <label class="sr-only">Answer here</label>
  <div class="col dawidecol dafieldpart">
    <fieldset class="da-field-checkboxes" role="group">
      <legend class="sr-only">Checkboxes:</legend>
      <input aria-label="obj chkbx opt 1" alt="obj chkbx opt 1" class="dafield0 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdA_0" name="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdFtCJ1lqSktjVmd5VG05aE1rbzBXREk1ZDJSR09IZydd" type="checkbox" value="True" aria-hidden="true" style="display: none;">
      <label class="btn-light" for="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdA_0" tabindex="0" role="checkbox" aria-checked="false" aria-label="obj chkbx opt 1">
        <span class="labelauty-unchecked-image text-muted">
          <svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-unchecked">obj chkbx opt 1</span>
        <span class="labelauty-checked-image">
          <svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-checked">obj chkbx opt 1</span>
      </label>
      <input aria-label="obj chkbx opt 2" alt="obj chkbx opt 2" class="dafield0 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdA_1" name="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdFtCJ1lqSktjVmd5VG05aE1rbzBXREk1ZDJSR09Iaydd" type="checkbox" value="True" aria-hidden="true" style="display: none;">
      <label class="btn-light" for="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdA_1" tabindex="0" role="checkbox" aria-checked="false" aria-label="obj chkbx opt 2">
        <span class="labelauty-unchecked-image text-muted">
          <svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-unchecked">obj chkbx opt 2</span>
        <span class="labelauty-checked-image">
          <svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-checked">obj chkbx opt 2</span>
      </label>
      <input aria-label="obj chkbx opt 3" alt="obj chkbx opt 3" class="dafield0 danon-nota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" id="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdA_2" name="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdFtCJ1lqSktjVmd5VG05aE1rbzBXREk1ZDJSR09Ibydd" type="checkbox" value="True" aria-hidden="true" style="display: none;">
      <label class="btn-light" for="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdA_2" tabindex="0" role="checkbox" aria-checked="false" aria-label="obj chkbx opt 3">
        <span class="labelauty-unchecked-image text-muted">
          <svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-unchecked">obj chkbx opt 3</span>
        <span class="labelauty-checked-image">
          <svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-checked">obj chkbx opt 3</span>
      </label>
      <input aria-label="None of the above" alt="None of the above" class="dafield0 danota-checkbox da-to-labelauty checkbox-icon labelauty da-active-invisible dafullwidth" type="checkbox" name="_ignore0" aria-hidden="true" id="labelauty-60156" style="display: none;">
      <label class="btn-light" for="labelauty-60156" tabindex="0" role="checkbox" aria-checked="false" aria-label="None of the above">
        <span class="labelauty-unchecked-image text-muted">
          <svg class="svg-inline--fa fa-square fa-w-14 fa-fw" aria-hidden="true" focusable="false" data-prefix="far" data-icon="square" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"></path></svg><!-- <i class="far fa-square fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-unchecked">None of the above</span>
        <span class="labelauty-checked-image">
          <svg class="svg-inline--fa fa-check fa-w-16 fa-fw" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="check" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"></path></svg><!-- <i class="fas fa-check fa-fw"></i> Font Awesome fontawesome.com -->
        </span>
        <span class="labelauty-checked">None of the above</span>
      </label>
    </fieldset>
    <input type="hidden" name="b2JqZWN0X2NoZWNrYm94ZXNfdGVzdC5nYXRoZXJlZA" value="True">
  </div>
</div>
@plocket plocket closed this as completed in 511f3ab Mar 4, 2021
plocket added a commit that referenced this issue Mar 4, 2021
@plocket plocket changed the title Test checkbox choices created with an object (code, I think) Test checkbox choices created with datatype object_checkbox Mar 4, 2021
@plocket plocket added the add field Stuff relating to adding new fields to the test interviews label Jun 27, 2021
@plocket plocket changed the title Test checkbox choices created with datatype object_checkbox Add checkbox choices created with datatype object_checkbox Jun 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add field Stuff relating to adding new fields to the test interviews
Projects
None yet
Development

No branches or pull requests

1 participant