Difference between revisions of "In-line Error Association"

From Level Access Web Labs
Jump to navigation Jump to search
Line 9: Line 9:
 
var error = document.getElementById("firstNameError");
 
var error = document.getElementById("firstNameError");
  
if (error.style.display == 'none';){
+
if (error.style.display == "none";){
                             error.style.display == 'block';
+
                             error.style.display.setAttribute("style","display: block;");
 
                         }
 
                         }
 
}
 
}

Revision as of 18:33, 13 March 2018

Page for testing in-line error messages.

In-line Error Association Testing

Sample Form

Activate the Submit button to toggle the in-line error.