Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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