Skip navigation
Dr. Johnny Fever
Currently Being Moderated

<cfpdfform>.. How to force the PDF into a new browser window?

Sep 9, 2011 6:30 PM


Hey all,
     I'm using ColdFusion 8 and the <cfpdfform> object to create an xml document and then write the data to fields in an existing PDF file on our intranet.  The problem is that I need the PDF to open in a new browser window, not the same browser window, which is what is happening now.

Is there any additional info I can pass along with the 'destination=' tag to force the PDF form to open in a new browser window?  Or is it possible to add a Javascript function somewhere in the .cfm such that when the <cfpdfform> pushes the data to the pdf its already open in a new window, maybe from a window.open() function?  I'd really prefer if the functionality was available somewhere through the <cfpdfform> tag but I'll take what I can get.

 

Thanks in advance for all replies,

 

Dr. Johnny Fever

 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points