Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

Though I was making a simple IF condition

$
0
0

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


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>