<?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: Exporting xls or csv w/o prefix</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Exporting xls or csv w/o prefix</description>
<language>en</language>
<pubDate>Mon, 04 May 2026 04:13:22 +0000</pubDate>

<item>
<title>redityo on "Exporting xls or csv w/o prefix"</title>
<link>https://www.machform.com/forums/topic/exporting-xls-or-csv-wo-prefix#post-9386</link>
<pubDate>Wed, 05 May 2010 11:00:42 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">9386@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;It might be your form has no title, if so, try to edit your &#34;export_entries.php&#34; file and go to around line 146 ~ 147 for these code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$clean_form_name = ereg_replace(&#38;quot;[^a-zA-Z0-9_-]&#38;quot;, &#38;quot;&#38;quot;,$form_name);
$workbook-&#38;gt;send(&#38;quot;{$clean_form_name}.xls&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;and change it to &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$clean_form_name = ereg_replace(&#38;quot;[^a-zA-Z0-9_-]&#38;quot;, &#38;quot;&#38;quot;,$form_name);

if ($clean_form_name == &#38;#39;&#38;#39;) {
	$clean_form_name = &#38;#39;machform&#38;#39;;
}
$workbook-&#38;gt;send(&#38;quot;{$clean_form_name}.xls&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then go to line 174 for this code&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$clean_form_name = ereg_replace(&#38;quot;[^a-zA-Z0-9_-]&#38;quot;, &#38;quot;&#38;quot;,$form_name);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;then replace it with&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$clean_form_name = ereg_replace(&#38;quot;[^a-zA-Z0-9_-]&#38;quot;, &#38;quot;&#38;quot;,$form_name);
if ($clean_form_name == &#38;#39;&#38;#39;) {
	$clean_form_name = &#38;#39;machform&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;that would give &#34;machform&#34; as the file name if you've empty form title
&#60;/p&#62;</description>
</item>
<item>
<title>dveiga on "Exporting xls or csv w/o prefix"</title>
<link>https://www.machform.com/forums/topic/exporting-xls-or-csv-wo-prefix#post-9384</link>
<pubDate>Wed, 05 May 2010 05:31:34 +0000</pubDate>
<dc:creator>dveiga</dc:creator>
<guid isPermaLink="false">9384@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I'm trying to export xls or csv in the forms and when I do that, it only exports the filename as &#34;xls&#34; or &#34;csv&#34; - just the extension. It doesn't contain anything like machform1.xls&#60;/p&#62;
&#60;p&#62;Any reason why, or how to fix it?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
