Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Click two checkboxes to get one value in another field

Avatar

Level 2

I have two check boxes if both check boxes are checked then another field would display a number.  How do I get my calcualtion to work?

This is what I have so far for the calc.

if ((this.rawValue ==1) (CheckBox4.rawValue == 1))

{

NumericField1.rawValue

= 4

}

1 Accepted Solution

Avatar

Correct answer by
Level 6

try the following...

if ((this.rawValue ==1)  && (CheckBox4.rawValue == 1)) = 4

{

     NumericField1.rawValue

}

View solution in original post

2 Replies

Avatar

Correct answer by
Level 6

try the following...

if ((this.rawValue ==1)  && (CheckBox4.rawValue == 1)) = 4

{

     NumericField1.rawValue

}