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

Text with multiple colors


Former Community Member

How to specify a text with multiple colors using Javascript in Livecycle designer?jvjuvvadi@yahoo.com

2 Replies


Level 10

Colored text is only possible Rich Text fields.

Those contain a XHTML string with spans you can manipulate.

Here's a sample but you may have to adopt it to your own needs.

Adobe LiveCycle Designer Cookbooks by BR001: Programmatically updating Rich Text (or xHTML)

Hope this helps!


Former Community Member

Thank you very much for your reply, I'll give that a try.


Sent from my iPhone