TOPIC:

Exporting Records in PFD (Page Breaks) 1 month 1 week ago #260522

  • Mirec's Avatar
  • Mirec
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 454
  • Karma: 2
  • Thanks: 19
Hi,

I found a solution to your idea.

In attach file I sent to you the export_pdf.php file, please replace my file with your file (you can make backUp for your file).
I made that all title of your element with the name 'Full Name' displayed in the title of the export file, of course in all form should be a label of element 'Full Name' and for each form will be displayed values of an element with name 'Full name' in export title according to each form.

In the export_pdf.php file please in this part code :
 if($sub->title =='Full Name')

instead of 'Full name' you can insert the title of the element which will be displayed in the export title. And form which has that title of the element, the value of that element be displayed in the export title, per each form.

Let me know does it is now good and if you get stuck feel free to ask.
Regards,
Mirko
Attachments:

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

Last edit: Post by Mirec.

Exporting Records in PFD (Page Breaks) 1 month 1 week ago #260565

  • Mirec's Avatar
  • Mirec
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 454
  • Karma: 2
  • Thanks: 19
Hi,

did you test this? Is everything ok now?

Regards!
Mirko

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

Last edit: Post by Mirec.

Exporting Records in PFD (Page Breaks) 3 weeks 2 days ago #261053

  • Topic Author
  • ALRA1
  • Offline
  • Expert Breezer
  • Expert Breezer
  • Posts: 169
  • Thanks: 0
Hi Mirco,

I will have to try this out on a test site. The client wanted to roll out the Covid-19 questionnaire form as they were re-opening so I ran out of time trying it out.

For now I ended up adding a generic file name this to the End Submit>Submit Pieces code:
$pdfname = $ff_compath . '/exports/Covid-Screening-' . date('F-d-Y-g:iA') . '-' . mt_rand(0, mt_getrandmax()) . '.pdf';

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

Exporting Records in PFD (Page Breaks) 3 weeks 1 day ago #261061

  • Mirec's Avatar
  • Mirec
  • Offline
  • Gold Breezer
  • Gold Breezer
  • Posts: 454
  • Karma: 2
  • Thanks: 19
Hi,

ok, Let me know the result of the test! :)

Regards,
Mirko

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

Moderators: ForumSupport
Time to create page: 0.046 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!