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");
  
error.style.display = div.style.display == "none" ? "block" : "none";
+
error.style.display = error.style.display == "none" ? "block" : "none";
 
}
 
}
 
         </script>  
 
         </script>  

Revision as of 19:47, 14 February 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.