I am new to Javascript but feel embarrassed to ask since I have some programming background. Putting my pride behind me. I am trying to use a drop down list ("A" & "B") that will hide or make visible two subforms ("Subform1" and "Subform2"). This is pretty basic but I can not get it to work. Any suggestions?
if (this.rawValue == "A")
{
Subform1.presence = "visible";
Subform2.presence = "hidden";
}
else if (this.rawValue == "B")
{
Subform1.presence = "hidden";
Subform2.presence = "visible";
}