Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Button to change colour of text fields, check boxes, etc


Level 2

I've created some forms that have a blue back ground in the objects I've inserted in it. However I want to give people using a choice of colours. I've played with using a button but can't get it to work how I want. I've included a link to one of my documents so you can se what I want to change. Basically I want to be able to change everything that's in blue. I'd like to add a few buttons to give people a choice of backgrounds. If I do this using actions as I said I can't get it to work (it change the colour of the value fields but the border or caption) and it'd be time consuming to add every object as an action for every button. I'm not asking for it to be done for me just a pointer in the right direction even it means me writing XML code. As long as I have a starting point I’ll be happy.



0 Replies