Skip to content

Commit

Permalink
fix(projects): Made checkbox on 4CE DUA mandatory for all registrant …
Browse files Browse the repository at this point in the history
…types
  • Loading branch information
b32147 committed Sep 13, 2024
1 parent bc19186 commit 66f43db
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions app/static/agreementforms/4ce-dua.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,6 @@ <h4>I am a (select one):&nbsp;<span class="required">*</span></h4>

{% if institutional_official %}
<div id="member-questions" style="display: {% if registrant_is == "member" %}block{% else %}none{% endif %}">
<h4>Institutional Member</h4>

<label class="checkbox-inline">
<input type="checkbox" id="i_reviewed" name="i_reviewed" value="Yes" required {% if i_reviewed == "Yes" %}checked{% endif %}> I have reviewed and understand the terms and conditions outlined above.
&nbsp;<span class="required">*</span>
</label>

</div>
{% endif %}
Expand Down Expand Up @@ -170,7 +164,6 @@ <h4>Member Details</h4>
{% endfor %}
</div>
</div>

<div id="signer-details" class="pbi_avoid" style="display: {% if registrant_is == "official" or registrant_is == "individual" %}block{% else %}none{% endif %}">
<h4>Contact Details</h4>
<div class="form-group">
Expand All @@ -185,6 +178,13 @@ <h4>Contact Details</h4>
<label for="signer-email">E-mail&nbsp;<span class="required">*</span></label>
<input type="email" class="form-control" id="signer-email" name="signer_email" value="{{ signer_email|default:'' }}" required />
</div>
</div>
<label class="checkbox-inline">
<input type="checkbox" id="i_reviewed" name="i_reviewed" value="Yes" required {% if i_reviewed == "Yes" %}checked{% endif %}>
By checking this box, I acknowledge that I have read and am effectively signing this Data User and Access Agreement and agreeing to its terms and conditions.
&nbsp;<span class="required">*</span>
</label>
<div id="signer-signature" class="pbi_avoid" style="display: {% if registrant_is == "official" or registrant_is == "individual" %}block{% else %}none{% endif %}">
<h4>Signature</h4>
<div class="form-group">
<label for="signer_signature" style="margin-right: 10px; margin-bottom: 15px;">Electronic Signature (Full Name)&nbsp;<span class="required">*</span></label>
Expand Down Expand Up @@ -234,10 +234,15 @@ <h4>Signature</h4>
$("#signer-details").hide();
$("#signer-details :input").prop('required',false);
$("#signer-details :input").val('');
$("#signer-signature").hide();
$("#signer-signature :input").prop('required',false);
$("#signer-signature :input").val('');
} else {

$("#signer-details").show();
$("#signer-details :input").prop('required',true);
$("#signer-signature").show();
$("#signer-signature :input").prop('required',true);
}
});
});
Expand Down

0 comments on commit 66f43db

Please sign in to comment.