Skip to main content
Solved

Visibility of Published Parameters

  • December 11, 2023
  • 2 replies
  • 45 views

kidega
Contributor
Forum|alt.badge.img+8

Hi,

When working with visibility of published parameters through conditions in Form, is it possible to have multiple test clauses for a parameter?

Similar to the Test transformer with logic "if", "or".

Thanks!

Best answer by dustin

Technically no. But if the test logic you want to use is 'and', there is a hack. Say you have two parameters, and you want to show a 3rd parameter based on the conditions of the first 2 parameters being certain values:

  • Put the 3rd parameter into a Group box from the Parameter Manager.
  • Select the Group box, and place a conditional visibility on the group box based on the 1st parameter.
    • image
  • Now select the 3rd parameter itself, and set the conditional visibility based on the 2nd parameter.
    • image
  • The 3rd parameter will only be visible if both the 1st 2 parameters meet the conditions.

In this example below, yes and maybe need to be selected for the project folder to be visible. Any other values, it's hidden.

imageimageYou can actually expand on this with as many 'and' conditions as you want. You would just keep nesting the 3rd parameter into as many Group Boxes as needed. 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • Best Answer
  • December 11, 2023

Technically no. But if the test logic you want to use is 'and', there is a hack. Say you have two parameters, and you want to show a 3rd parameter based on the conditions of the first 2 parameters being certain values:

  • Put the 3rd parameter into a Group box from the Parameter Manager.
  • Select the Group box, and place a conditional visibility on the group box based on the 1st parameter.
    • image
  • Now select the 3rd parameter itself, and set the conditional visibility based on the 2nd parameter.
    • image
  • The 3rd parameter will only be visible if both the 1st 2 parameters meet the conditions.

In this example below, yes and maybe need to be selected for the project folder to be visible. Any other values, it's hidden.

imageimageYou can actually expand on this with as many 'and' conditions as you want. You would just keep nesting the 3rd parameter into as many Group Boxes as needed. 


kidega
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • December 11, 2023

Technically no. But if the test logic you want to use is 'and', there is a hack. Say you have two parameters, and you want to show a 3rd parameter based on the conditions of the first 2 parameters being certain values:

  • Put the 3rd parameter into a Group box from the Parameter Manager.
  • Select the Group box, and place a conditional visibility on the group box based on the 1st parameter.
    • image
  • Now select the 3rd parameter itself, and set the conditional visibility based on the 2nd parameter.
    • image
  • The 3rd parameter will only be visible if both the 1st 2 parameters meet the conditions.

In this example below, yes and maybe need to be selected for the project folder to be visible. Any other values, it's hidden.

imageimageYou can actually expand on this with as many 'and' conditions as you want. You would just keep nesting the 3rd parameter into as many Group Boxes as needed. 

That's great! Thanks