Though I was making a simple IF condition

erik_crl

18-11-2016

Hello,

I've been trying to troubleshoot this for several days now and I seem to still be missing something.

I have a drop down menu with two options. In the properties for the drop down, I specified in the Binding tab to "Specify Item Values" (1 and 2).

Under the Change Event I place the below code.

if (this.rawValue="1"){

annOverview.necDate.presence="hidden";

}

else if

(this.rawValue="2"){

annOverview.necDate.presence="visible";

}

Though, no matter which selection I make, the necDate goes hidden. I've tried all other Events without success.

Should I be using something other than the IF statement?

Thank you,

Erik

Accepted Solutions (1)

Accepted Solutions (1)

Answers (0)