Expand my Community achievements bar.

SOLVED

Visibility Expression

Avatar

Level 2

Hi Guys,

Please can someone tell me how to code this in the visibility expression of a text field 

radiobutton.value=="1";radiobutton.value=="2";

When I do it this way it only works (makes the textfield visible) when radiobutton.value=="1" doesn't work for radiobutton.value=="2"

Thanks,

Afam

1 Accepted Solution

Avatar

Correct answer by
Level 3

The expression should result in a boolean value. So the expression to get desired result would be:

radiobutton.value=="1" || radiobutton.value=="2"

View solution in original post

2 Replies

Avatar

Correct answer by
Level 3

The expression should result in a boolean value. So the expression to get desired result would be:

radiobutton.value=="1" || radiobutton.value=="2"

Avatar

Level 2

Thanks Sakshi,

This works for me.

Much appreciated,

Afam