JavaScript and hyphens don't play well together; I would use the debugger within your browser and see if it is throwing errors.
Something simple to see if this is the issue is to just rename the
form-notice
element
<script type="text/javascript">
if (obj.formatCheck == "true", obj.smtpCheck == "true", obj.dnsCheck == "true") {
document.getElementById("form-notice").value="Email is valid.";
}
else {
document.getElementById("form-notice").value="Email is not valid.";
}
</script>
<p id="form-notice" style="color: red;">This is a filler paragraph.</p>
Hyphens in HTML and CSS:
HTML5 attributes can start with data- (data-quantity, data-price).
CSS uses hyphens in property-names (font-size).
Hyphens can be mistaken as subtraction attempts. Hyphens are not allowed in JavaScript names.
Reference:
JavaScript Style Guide[
^]