<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Creating a link to download csv</title>
		<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv</link>
		<description>Gravity Support Forums Topic: Creating a link to download csv</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:23:38 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/creating-a-link-to-download-csv" rel="self" type="application/rss+xml" />

		<item>
			<title>thesportsphysio on "Creating a link to download csv"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv#post-1820</link>
			<pubDate>Thu, 26 Nov 2009 12:14:21 +0000</pubDate>
			<dc:creator>thesportsphysio</dc:creator>
			<guid isPermaLink="false">1820@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can anyone suggest a step by step way to achieve a download link of core info ( not ips urls etc).  &#60;/p&#62;
&#60;p&#62;Ideally I could do with this link outside of the admin setup ( user login not guest i suppose i mean) .  So maybe linked from the bottom of the home page.&#60;/p&#62;
&#60;p&#62;I suppose it should have a start and end date option to make things a little bit more neat.&#60;/p&#62;
&#60;p&#62;I do have some knowledge but don't really know my way around php that well.  &#60;/p&#62;
&#60;p&#62;Help - really would appreciate it.!&#60;/p&#62;
&#60;p&#62;a
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thesportsphysio on "Creating a link to download csv"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv#post-1808</link>
			<pubDate>Thu, 26 Nov 2009 04:51:35 +0000</pubDate>
			<dc:creator>thesportsphysio</dc:creator>
			<guid isPermaLink="false">1808@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Think this is going to need a bit more knowledge or possibly the suggestion of a plugin / feature request maybe?&#60;/p&#62;
&#60;p&#62;I sort of hoped I could put the selection form into a page with a copy and paste of a few lines of code.&#60;/p&#62;
&#60;p&#62;Unless anyone knows how to do this?&#60;/p&#62;
&#60;p&#62;Cheers&#60;br /&#62;
a
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Creating a link to download csv"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv#post-1795</link>
			<pubDate>Wed, 25 Nov 2009 22:30:25 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1795@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can start by looking at the start_export() function that is in the export.php file. All the export logic is basically in there. You can copy and paste that function into your page template and start tweaking it. If you look at the top of the function, you will see the following lines of code&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
$form_id=$_POST[&#34;form_id&#34;];&#60;br /&#62;
        $fields = explode(&#34;,&#34;, $_POST[&#34;fields&#34;]);&#60;br /&#62;
        $start_date = $_POST[&#34;start_date&#34;];&#60;br /&#62;
        $end_date = $_POST[&#34;end_date&#34;];&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
You will need to change those variables to match what you want. I am assuming you will be passing all of them via query string instead of post. $fields is a comma separated list of the filed ids you want to export.&#60;br /&#62;
If you set this variables correctly, you will end up with the export file in yours wp-upload/gravity_forms/form_id folder.&#60;br /&#62;
From there you can send that file to the user.&#60;br /&#62;
Look at the download.php file for that.&#60;/p&#62;
&#60;p&#62;Let me know how it goes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thesportsphysio on "Creating a link to download csv"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv#post-1779</link>
			<pubDate>Wed, 25 Nov 2009 14:31:34 +0000</pubDate>
			<dc:creator>thesportsphysio</dc:creator>
			<guid isPermaLink="false">1779@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the offer.  Just me as the developer, so any advice would be much appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Creating a link to download csv"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv#post-1776</link>
			<pubDate>Wed, 25 Nov 2009 12:54:22 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">1776@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms does not currently support that, but it can be done with some lines of PHP. If you have a developer that can help you with this, we can point him in the right direction.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>thesportsphysio on "Creating a link to download csv"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-a-link-to-download-csv#post-1771</link>
			<pubDate>Wed, 25 Nov 2009 12:34:01 +0000</pubDate>
			<dc:creator>thesportsphysio</dc:creator>
			<guid isPermaLink="false">1771@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would like to create a link to download with one click the csv files of one date.  &#60;/p&#62;
&#60;p&#62;This csv file would only contain some predefined elements from the whole data available&#60;/p&#62;
&#60;p&#62;This date could be the one currently being viewed or chosen from a calendar (maybe the default WP calendar widget for ease.&#60;/p&#62;
&#60;p&#62;This link ideally I would like to put outside of the admin area, ideally on a page.&#60;/p&#62;
&#60;p&#62;Is this possible, and how would I go about it please?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
