Quantcast
Channel: Adobe Community : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 238792

Need help with an if statement

$
0
0

I am very new at writing Javascript and am having a lot of fun learning.  I need some help with one that has me out in left field.

 

I have a negative (or a positive) value in a cell.  Generally, the value is going to be negative with only a few exceptions in the other direction.  What I want to do is make two different electronic signatures appear from their current invisible status, BUT only with different values in the calculated cell.

 

Right now I have the following script...

 

if (this.rawValue < "1") {

     AcctEsig.presence = "visible";

     } else {

     AcctEsig.presence = "invisible";

}

 

I need this one to  make the AcctEsig object appear actually when the value is between -1 and -99

 

I will need the next one to open the account manager's Esignature if the value is -100 or even less.  Therefore as one can see, I'm thinking I can get away with 2 separate scripts, BUT I know that there may be one that can present both eSig blocks but at the designated different times.

 

Any ideals?

 

Thank you so much ahead of time.


Viewing all articles
Browse latest Browse all 238792

Trending Articles



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