Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Livecycle - Check box if else statement.

SalGal63
Level 1
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
scottc30727408
Level 2
Level 2

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