Visibility Expression | Community
Skip to main content
famruch
Level 2
October 16, 2015
Solved

Visibility Expression

  • October 16, 2015
  • 2 replies
  • 1396 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sakshi5

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

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

2 replies

Sakshi5
Adobe Employee
Sakshi5Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

radiobutton.value=="1" || radiobutton.value=="2"
famruch
famruchAuthor
Level 2
October 16, 2015

Thanks Sakshi,

This works for me.

Much appreciated,

Afam