Forums

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

[Confiform] Compare 2 checkbox groups and change color if not matching

Mike vD
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 25, 2025 edited

Hello all,

I started exploring Confiform today and ran into some desired functions that I have not been able to resolve myself, so I'm going to turn to the community for tips.

What I have:

  • 2 field definitions with the same Checkbox group of 5 entries. Let's call them fields A and B, and the checkbox entries 1, 2, 3, 4, 5.
  • A table with 2 fields based on the above definitions

What I want:

I would like to have the B field in the table change color if does not contain the same selected entries from the checkbox as in field A.

Example:

A   B

1   1

3   3

4   4

= no color change needed

A   B

1   1

2

4   4

= B field needs to change color

 

I have tried the Confiforms Rules for Fields (CSS) macro for field B where I configured it to -

!A:[entry._func.asEntryRef(entry.B)]

But this only works if B field is completely empty and the other is not. It also changes the color if B not empty but A is, which is an undesired side effect.

Is there a way to get it to function the way I want?

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, knowledge sharing, intentional knowledge sharing playbook, loom, confluence, team collaboration, knowledge management, workplace productivity, information silos, documentation best practices, internal communication, knowledge sharing strategies

Conquer collaboration chaos with Loom + Confluence

You don't need more tools. You need tools that actually work together – the way humans do. See how Loom + Confluence help teams collaborate with more context, more connection, and fewer calendar invites. 💪

See inside
AUG Leaders

Atlassian Community Events