The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alex Medved _ConfiForms_
Community Champion
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 Champion
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)

TAGS
AUG Leaders

Atlassian Community Events