Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

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