Expand my Community achievements bar.

Livecycle - Check box if else statement.

Avatar

Level 1

Livecycle - Having an issue writing a script. If a box is checked, run that calculation. else the value is blank or 0.  I've tried this on a click, and calculate. Or should I be using form calc instead?

if(CkAmt.rawValue=="1")

{

Amtrequired.rawValue=(1.00-Factor4.rawValue)*100);

}

else

{

this.rawValue=0;

}

1 Reply

Avatar

Level 2

this looks like formcalc. also use the setup if, then, else, endif.