Confiforms - How to check in a rule if a field is hidden?

Adamo G February 17, 2025

Is it possible to create rules based on whether certain fields are hidden?

 

I have a form with primary dropdown whose options enable/show corresponding hidden secondary dropdowns and these secondary dropdowns have an option which enables/shows a hidden text field for the user. 

However, when changing the selection in the primary dropdown, the hidden text field is still visible.

I would like a way to check whether the any of the secondary dropdowns are hidden and hide the text field again if so. 

 

Is this something that's possible via Rules for Field Definitions? 

1 answer

0 votes
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2025

Hi @Adamo G 

What do you man by "hidden text" - is it something what you have in a custom layout for the form? Some static text that you put?

 

Adamo G February 17, 2025

Hi Alex, 

I meant a simple text input field which is hidden/not visible by default. Sorry for the confusion. 

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2025
Adamo G February 17, 2025

Yes, I have found that documentation.

My question is more along the lines of whether there is any condition/attribute that could check if a field is set to visible or not. 

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2025

You can probably have a custom JavaScript function that is called on form load and which checks UI elements for their visibility, but there is no such thing built in in the ConfiForms Field Definition Rules

Adamo G February 17, 2025

I see, thank you! 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events