Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Making text in Text Field bold


Not applicable

I need to make part of the text in Text Field object bold. I tried to write FormCalc script:

c0 = "{body xmlns="" xmlns:xfa="" xfa:APIVersion="2.4.5325.0"}{p style="text-decoration:none"}Hello {span style="font-weight:bold"}World{/span}!!!{/p}{/body}"


but in PDF Preview was only normal text "Hello World!!!"

("<" and ">" symbols are changed to "{" and "}")

What i do wrong?
2 Replies


Not applicable

Is the field set to accept rich text?


Not applicable

$.value.exData.contentType = 'text\html'.

It seems i have old XFA API version. Currently i'm using "2.4.5325.0" version. But "XFA Specification" document says that rich text format requires "2.7.8021.0" version. Can somebody test it please?