TOPIC:

PDF Attachment File name 5 months 1 week ago #268653

  • CaroZumi
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0
I tested it with both forms, first it worked alone with the 'Brot' form (only with the 1st syntax), then I added the second syntax and tested it with 'Brot' and 'Fondue', but the result was: 'Brot' came back with the old file name (ffexport-pdf-123456.pdf), but 'Fondue' with the changed file name (Fondue Bestellung.pdf).

I am very excited about their answer ;-)

Please Log in or Create an account to join the conversation.

PDF Attachment File name 5 months 1 week ago #268654

  • CaroZumi
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0
oh they are very fast.... Wow

I would like to try it, get back to me....

Please Log in or Create an account to join the conversation.

PDF Attachment File name 5 months 1 week ago #268655

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10621
  • Karma: 3
  • Thanks: 707
Hi,

also,please try it like this:
$yourname="Brotbestellung";
$yourname1="Fleischbestellung";
$yourname2="Gemüsebestellung";

if($this->formrow->name=='form1'){
$pdfname = $ff_compath . '/exports/'.$yourname.'.pdf';
}

else if($this->formrow->name=='form2'){
$pdfname = $ff_compath . '/exports/'.$yourname1.'.pdf';
}

else if($this->formrow->name=='form3'){
$pdfname = $ff_compath . '/exports/'.$yourname2.'.pdf';
}

else {
$pdfname = $ff_compath . '/exports/ffexport-pdf-' . $date_stamp . '-' . mt_rand(0, mt_getrandmax()) . '.pdf';
}

Regards,
Tihana
The following user(s) said Thank You: CaroZumi

Please Log in or Create an account to join the conversation.

PDF Attachment File name 5 months 1 week ago #268656

  • CaroZumi
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0
a moment the 2nd post I have not tried.

Please Log in or Create an account to join the conversation.

Last edit: Post by CaroZumi.

PDF Attachment File name 5 months 1 week ago #268657

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10621
  • Karma: 3
  • Thanks: 707
The following user(s) said Thank You: CaroZumi

Please Log in or Create an account to join the conversation.

PDF Attachment File name 5 months 1 week ago #268658

  • CaroZumi
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 7
  • Thanks: 0

tihana.krivic wrote: Hi,

also,please try it like this:

$yourname="Brotbestellung";
$yourname1="Fleischbestellung";
$yourname2="Gemüsebestellung";

if($this->formrow->name=='form1'){
$pdfname = $ff_compath . '/exports/'.$yourname.'.pdf';
}

else if($this->formrow->name=='form2'){
$pdfname = $ff_compath . '/exports/'.$yourname1.'.pdf';
}

else if($this->formrow->name=='form3'){
$pdfname = $ff_compath . '/exports/'.$yourname2.'.pdf';
}

else {
$pdfname = $ff_compath . '/exports/ffexport-pdf-' . $date_stamp . '-' . mt_rand(0, mt_getrandmax()) . '.pdf';
}

Regards,
Tihana



now it works!

Great, thank you very much, I am very happy

Please Log in or Create an account to join the conversation.

Moderators: ForumSupport
Time to create page: 0.053 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

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 subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!