Hide a text block based on condition of confiform field value

Dhiraj Kr_ Gupta
Contributor
May 23, 2024

I want to hide a text in the confiform edit controls while editing based on the value of a confiform field, say name:[empty] This text will show only after a condition like of name is not empty is matches

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.
May 23, 2024

The best option is to use ConfiForms Field Definition Rules (Hide Field)

Dhiraj Kr_ Gupta
Contributor
May 23, 2024

That is not created through Confiform Field Definition (text). It is simple text added in Form view 

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.
May 23, 2024

Consider using hide/show container rule then - this allows you to show/hide elements by providing a CSS selector.

Also, if you are on server(DC) then ConfiForms IfMatches macro can be something that can be used as a container (condition set to * and with a custom element id defined you should be able to address that element via CSS selector easily)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events