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

Visibility Expression

Avatar

Avatar
Validate 1
Level 1
famruch
Level 1

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
famruch
Level 1

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
famruch
Level 1

15-10-2015

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Level 2
Sakshi1
Level 2

Likes

2 likes

Total Posts

32 posts

Correct Reply

9 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 1
View profile

Avatar
Boost 1
Level 2
Sakshi1
Level 2

Likes

2 likes

Total Posts

32 posts

Correct Reply

9 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 1
View profile
Sakshi1
Level 2

15-10-2015

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

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

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
Level 1
famruch
Level 1

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
famruch
Level 1

Likes

2 likes

Total Posts

24 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
famruch
Level 1

15-10-2015

Thanks Sakshi,

This works for me.

Much appreciated,

Afam