Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Toggle 'Required' field tag based on ConfiForm Rules for Field Definition

So I have a pretty large form with several fields and this form integrates perfectly with JIRA, sends out emails etc. 

A recent requirement needed me to add a new field (Field A) which would be made visible only if a particular value (e.g. Value 1) was selected in the previous dropdown field (Field B).

Field A  is a checkbox field and I marked it as 'Required'. 

It does not show up if Value 2 and Value 3 is selected in Field B or if Field B is left blank. If I select Value 1 in Field B, Field A shows up correctly as expected. 

The problem I'm facing is this - since I marked it as a 'Required' field, I get a form error when I populate Field B with Value 2 or 3 or leave it blank. This is because Field A won't show up in these scenarios and obviously won't be checked/unchecked. 

Is there another validation or rule that I can apply on this field to ensure that it doesn't give me a form error in case I select Value 2 or 3 in Field B? 

2 answers

Did you get an answer to this Tanmay

Have not seen the original question earlier, sorry about that.

But the problem is that hiding the field doe snot make it not required if you set it as required in the ConfiForms Field Definition macro settings

So it must have a value.. or it should NOT be set as required in the configuration


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

🏑 Atlympic Event: Confluence

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

305 views 12 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you