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

Avatar

Former Community Member

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

2 Replies

Avatar

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!

Avatar

Former Community Member

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

VJ

Sent from my iPhone