PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________
Mark, Can't thank you enough, that was it. I was confused over the object vs. it's property. It's working ! Brent Aaron - thanks for pointing me in the right direction. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mark Storer Sent: Friday, November 21, 2003 2:42 PM To: '[EMAIL PROTECTED]' Subject: RE: [PDFdev] Should be a simple JavaScript PDFdev is a service provided by PDFzone.com | http://www.pdfzone.com _____________________________________________________________ > > Here's the code: > > var f = this.getField('cNumber') > this.saveAs('/c/temp/' + f + '.pdf') this.saveAs( '/c/temp/' + f.value + '.pdf' ); or ... v.valueAsString ... 'f' itself is an object. When you convert it directly to a string, you get something other than one of it's properties. And shouldn't those be doublequotes "", instead of single quotes ''. --Mark Storer Software Engineer Cardiff Software #include <disclaimer> typdef std::disclaimer<Cardiff> Discard; To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html To change your subscription: http://www.pdfzone.com/discussions/lists-pdfdev.html
