Livecycle - Check box if else statement.

Avatar

Avatar
Level 1
SalGal63
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
SalGal63
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
SalGal63
Level 1

10-03-2015

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;

}

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Affirm 1
Level 1
scottc30727408
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Level 1
scottc30727408
Level 1

Likes

0 likes

Total Posts

10 posts

Correct reply

2 solutions
Top badges earned
Affirm 1
View profile
scottc30727408
Level 1

16-03-2015

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