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

In Confiforms, is there a way to disable or hide individual checkboxes?

In Confiforms, is there a way to disable (gray out) individual checkboxes in a checkbox group, based on the value of another field?

E.g., imagine I have a checkbox group mycbgroup with checkboxes cb1, cb2, cb3, cb4, cb5.

Based on the value of another field, I want to be able to selectively gray out (say) cb2 and cb3, while leaving the others enabled.

Is there a way to use the 'Confiform Rules for Field Definition' macro (or any other macro) to change the appearance of individual checkboxes (say set the CSS to display the checkbox as gray text)?

Or alternatively, to show/hide the checkboxes individually?  (I know how to show/hide the entire field, such as the entire checkbox group ... but can one show/hide individual checkboxes?)

1 answer

You can hide choices in multi-value fields by using ConfiForms Rules for Field Definition macro with action set to "Apply filter"

Some docs to look at https://wiki.vertuna.com/display/CONFIFORMS/Using+filter+based+on+criteria+rule

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