Sales Question?
Welcome, Guest

TOPIC: PDF file name

Re: PDF file name 1 year ago #73749

Hi,

It's fixed..I have added it to your file.

Just reupload the attached file to your components/com_breezingforms folder
  • burnhard
  • OFFLINE
  • Junior Boarder
  • Posts: 25
  • Karma: 0

Re: PDF file name 1 year ago #73750

In the last email, file attachment not done..

Just rename this attached txt file to facileforms.process.php and upload.

Jag
Attachments:
  • burnhard
  • OFFLINE
  • Junior Boarder
  • Posts: 25
  • Karma: 0
The following user(s) said Thank You: web2web

Re: PDF file name 1 year ago #73754

PERFECT PERFECT PERFECT

THANK YOU SO MUCH

MARIANA
  • web2web
  • OFFLINE
  • Junior Boarder
  • Posts: 29
  • Karma: 0

Re: PDF file name 11 months ago #76273

Hi there,

I need help to get values from my form in /administrator/components/com_breezingforms/admin/recordmanagement.class.php
I tried to rename the pdf file to firstname and lastname as explained earlier in this post but it doesn't work.

can anyone help with this?

my code:

$pdf = new TCPDF();
$pdf->setPrintHeader(false);
$pdf->AddPage();
$pdf->writeHTML($c);
//$pdfname = $ff_compath.'/exports/ffexport-pdf-'.date('YmdHis').'.pdf';

$fname_en = '';
$lname_en = '';
if (count($xmldata)){
foreach ($xmldata as $data) {
$value = nl2br(htmlentities(substr(is_array($data[_FF_DATA_VALUE]) ? implode('|',$data[_FF_DATA_VALUE]) : $data[_FF_DATA_VALUE],0,10000), ENT_QUOTES, 'UTF-8'));
switch($data[_FF_DATA_NAME]){
case 'fname_en':
$fname_en = $value;
break;

case 'lname_en':
$lname_en = $value;
break;
}
}
}
$pdfname = "$fname_en"."_"."$lname_en"."_".date('d-m-Y_H-i').'.pdf';

$pdf->lastPage();
  • ran82
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0

Re: PDF file name 9 months, 2 weeks ago #79158

How difficult would it be for me to get the pdf document be named with the "Form Name + Date Form Submitted"
(eg. XUZForm-08-12-2012.pdf)
  • AlexR
  • OFFLINE
  • Junior Boarder
  • Posts: 28
  • Karma: 0

Re: PDF file name 9 months, 2 weeks ago #79163

Hi,

Just replace $pdfname with this and try

$formname=$this->formrow->name;

$pdfname= "$formname". date('Ymd'). '.pdf';

Jag
  • burnhard
  • OFFLINE
  • Junior Boarder
  • Posts: 25
  • Karma: 0
Moderators: TheMuffinMan, ForumSupport
Time to create page: 0.41 seconds

Flatrate Membership: Professional Subscription

Get lifetime access to all of our products and 1 year of professional support -- for just $199 USD. No limits on domains!. Includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

Get it from here

Recurring Customer Discount - 50% Off!

Get a 50% discount on our Professional Subscription if you have been purchasing a subscription from us in the past -- no matter when. The Professional Subscription includes all of our current and future Joomla!® extensions, WordPress® plugins and Joomla!® templates.

How to receive the discount:

  • Purchase a basic 1-Year Subscription from here.
  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with your username and proof of your old purchase.
  • We will then upgrade your account to the Professional Subscription.

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our 1-Year Basic or Professional Subscription plans.

How to receive the discount:

  • Send us a quick email to This email address is being protected from spambots. You need JavaScript enabled to view it. with a proof of purchase (for example a paypal receipt).
  • Await payment instructions and enjoy your membership!

About

Crosstec GmbH & Co. KG

Hohenzollernring 57

50672 Cologne, Germany

Imprint