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:
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?