Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Highlighting fields in response to form filler interaction, can\'t figure out


Level 1

I have figured out how to highlight a field when a check box is clicked on however, I cannot get it to remove the highlight when the check box is unclicked?

this is what I used for the highlight:


0 Replies


Level 10

It should be much the same ... if the code was in the click event of the check box and the off colour was white then;


(Subform1.fieldname.rawValue == 0)


= "255,255,255"



= "255,255,0"


Level 1

The if,else is not working for my form. The field remains highlighted whether the check box is checked or not. Could my issue be with the settings of the form?


Level 10

Put an message out before the if statement to validate that the value of TextField1 is what you think it is. It might be null.


The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now