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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 do you think is the most *delightful* Confluence feature? Comment for a prize!

- Create your own custom emoji 🔥 - "Shake for Feedback" on mobile 📱 - An endless supply of GIFs via GIPHY 🤩 Is there anything quite as nice as a pleasant surprise? Comment below with what...

415 views 23 8
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