Skip to main content

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!

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. 


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


Reply