Skip to main content
Participant
December 16, 2008
Question

PDF Forms

  • December 16, 2008
  • 1 reply
  • 538 views
Hi,
I'm passing some text to a pdf form field and I only want a portion of text to appear in bold - something like this:
<cfpdfformparam name="details" value='I want <b>this</b> in bold'>

Obviously this doesn't work; how is it done properly?

Many thanks
This topic has been closed for replies.

1 reply

Inspiring
December 16, 2008
Hi,

I don't think that is possible with <cfpdfformparam> how ever, you can create your pdf using <cfdocument> tag (along with the html formatting like bold, italics whatever you want) and later you can merge it using <cfpdf> ,<cfpdfparam> and <cfpdfformparam> tags.


HTH
drieh74Author
Participant
December 16, 2008
thank you I will try it out.
drieh74Author
Participant
December 16, 2008
It doesn't seem possible to merge into a specific section of a page however and as I don't want to create another page I don't think that this will work...

I cannot create another field as the text is in the middle of a paragraph and I can't have any spaces in between. Guess I'll need to create a few different pdf's... many thanks!