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

Release/apcd prod 2023 08 #213

Closed
wants to merge 9 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,15 @@ <h4>Acknowledgment of Terms</h4>

{# Scripts #}
<aside>
<!--To check for blank space only or invalid characters git commiin text inputs #}-->
<script src="{% static 'utils/js/checkForBlankInputs.js' %}"></script>
{# Adds blank space listener to all text input fields on page load #}
<script>
const formTextInputs = document.querySelectorAll('input, textarea');
noEmptyInputs(formTextInputs);
</script>
<!-- To require exception is not longer than a year -->

<script id="form-exception_length_less_than_year" type="module">
$(function(){
var dtToday = new Date();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,14 @@ <h4>Acknowledgment of Terms</h4>
{# Scripts #}

<aside>
<!--To check for blank space only in text inputs #}-->
<script src="{% static 'utils/js/checkForBlankInputs.js' %}"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
{# Adds blank space listener to all text input fields on page load #}
<script>
const formTextInputs = document.querySelectorAll('input, textarea');
noEmptyInputs(formTextInputs);
</script>
<!-- To require exception is not longer than a year -->
<script id="form-exception_length_less_than_year" type="module">
$(function(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ <h4>Acknowledgment of Terms</h4>
{# Scripts #}
{# WARNING: Many are cruft that created this now-static markup, but not all #}{# TODO: FP-1888: Clean out the cruft #}
<aside>
<!-- To check for blank space only or invalid characters in text inputs-->
<script src="{% static 'utils/js/checkForBlankInputs.js' %}"></script>
<!--Adds blank space listener to all text input fields on page load #-->
<script>
const formTextInputs = document.querySelectorAll('input, textarea');
noEmptyInputs(formTextInputs);
</script>
<!-- To let user add and remove entities -->
{# RFE: Do not duplicate entity markup #}
{# IDEA: HTML template for any instance; used by markup for 0, JS for 1+ #}
Expand Down
Loading