Expand my Community achievements bar.

SOLVED

How to add supercripts in a text field

Avatar

Level 2

How to add superscripts symbols like copyright,trademark and registered symbols in a static text field in the Livecycle designer 8.2?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

You can copy-and-paste special characters directly into a text object from a text editor such as MS Word. Alternatively, you can insert the hex character reference into the XML source for the applicable text object instance. For example, to add a copyright symbol, go to the XML Source tab and insert the reference &#x00A9; into the XML node <value><text>Foobar&#x00A9;</text></value>.

Steve

View solution in original post

4 Replies

Avatar

Correct answer by
Former Community Member

You can copy-and-paste special characters directly into a text object from a text editor such as MS Word. Alternatively, you can insert the hex character reference into the XML source for the applicable text object instance. For example, to add a copyright symbol, go to the XML Source tab and insert the reference &#x00A9; into the XML node <value><text>Foobar&#x00A9;</text></value>.

Steve

Avatar

Level 1

Hi Steve,

               I tried your approach and the superscript showed up accuratley in the LiveCycle Designer. But when i generate the PDF from the LC server it is still showing the Superscript in plain text. Is there anything we need to do additionally.

Regards,

Sudhakar

Avatar

Level 8

Is your field rich text or plain text

Avatar

Level 1

Yes, this Text Field is set to Rich Text format but still does not work.

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----