Checkbox Selection

Hi Everyone,

I have three fields in interface field A, field B and field C. I need to display the field C values only when the field B is checked. The values in fields are being populated using for each loop. Can anyone please help me on this.

  Discussion posts and replies are publicly visible