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? 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

129 views 3 7
Join discussion

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