<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Getting info for PDF document</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Getting info for PDF document</description>
<language>en</language>
<pubDate>Wed, 06 May 2026 18:22:21 +0000</pubDate>

<item>
<title>trevr on "[closed] Getting info for PDF document"</title>
<link>https://www.machform.com/forums/topic/getting-info-for-pdf-document#post-5302</link>
<pubDate>Wed, 01 Apr 2009 18:55:06 +0000</pubDate>
<dc:creator>trevr</dc:creator>
<guid isPermaLink="false">5302@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Saghalie,&#60;br /&#62;
could you share your code for the PDF generation please?&#60;br /&#62;
I've been trying to get it worked out in a number of ways.&#60;br /&#62;
I would like to have the &#34;Export PDF&#34; function on the confirm page.&#60;br /&#62;
So a PDF can be generated before the data goes to the database.&#60;br /&#62;
Thanks,&#60;br /&#62;
Trevr.
&#60;/p&#62;</description>
</item>
<item>
<title>Saghalie on "[closed] Getting info for PDF document"</title>
<link>https://www.machform.com/forums/topic/getting-info-for-pdf-document#post-1502</link>
<pubDate>Sat, 26 Apr 2008 12:41:00 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">1502@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Spot on, I've just got to get them in an array now.  Whish me luck!&#60;/p&#62;
&#60;p&#62;Saghalie&#60;br /&#62;
&#60;a href=&#34;http://www.beautiful-beginnings.org&#34; rel=&#34;nofollow&#34;&#62;http://www.beautiful-beginnings.org&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>yuniar on "[closed] Getting info for PDF document"</title>
<link>https://www.machform.com/forums/topic/getting-info-for-pdf-document#post-1501</link>
<pubDate>Sat, 26 Apr 2008 08:15:22 +0000</pubDate>
<dc:creator>yuniar</dc:creator>
<guid isPermaLink="false">1501@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hmm.. I think the best way to do this is to clone the behaviour of the current excel and csv export feature.&#60;/p&#62;
&#60;p&#62;If you look into export_entries.php, around line 346 you'll see the code to do the csv export&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;}elseif ($type == &#38;#39;csv&#38;#39;){
	if(!$column_label_has_printed){
		fputcsv($out, $column_label);
		$column_label_has_printed = true;
	}

	foreach ($form_data as $row_data){
        	fputcsv($out, $row_data);
        }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;code&#62;&#60;/code&#62;&#60;br /&#62;
I suppose you could replace that fputcsv() part with your own pdf write function.
&#60;/p&#62;</description>
</item>
<item>
<title>Saghalie on "[closed] Getting info for PDF document"</title>
<link>https://www.machform.com/forums/topic/getting-info-for-pdf-document#post-1500</link>
<pubDate>Fri, 25 Apr 2008 15:27:47 +0000</pubDate>
<dc:creator>Saghalie</dc:creator>
<guid isPermaLink="false">1500@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;This might be beyond the scope of your support but I thought I would ask anyway.&#60;/p&#62;
&#60;p&#62;I've edited your code so that I can create PDF documents (Export As:); the only problem I have is that I have to open the database and find the fields I need and manually add them to the code and &#60;strong&#62;then&#60;/strong&#62; Export as PDF.&#60;/p&#62;
&#60;p&#62;What code do I need to get MachForm to propigate to the PDF?  I've been trying to decipher what you have already in there but since I don't have a lot of time to sit and stare at the code to find the logic - I thought I would ask and see if you could get me started out.&#60;/p&#62;
&#60;p&#62;Mashie!&#60;/p&#62;
&#60;p&#62;Saghalie&#60;br /&#62;
&#60;a href=&#34;http://www.beautiful-beginnings.org&#34; rel=&#34;nofollow&#34;&#62;http://www.beautiful-beginnings.org&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
