I want to require that a checkbox be checked on a Community form. I am able to display an alert when it isn't checked. I don't want to do that. I want to display text on the form. I think I should be able to do this by dynamically adding CSS. I don't know how to do that. Pointers?
var legalChecked = component.find("legalnotice").get("v.value");
if(!legalChecked) {
alert("ugh!");
}