<?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: leaving redirect blank to redirect download</title>
		<link>https://legacy.forums.gravityhelp.com/topic/leaving-redirect-blank-to-redirect-download</link>
		<description>Gravity Support Forums Topic: leaving redirect blank to redirect download</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 16:33:11 +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/leaving-redirect-blank-to-redirect-download" rel="self" type="application/rss+xml" />

		<item>
			<title>hugegoudaface on "leaving redirect blank to redirect download"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/leaving-redirect-blank-to-redirect-download#post-15578</link>
			<pubDate>Thu, 06 Jan 2011 15:32:29 +0000</pubDate>
			<dc:creator>hugegoudaface</dc:creator>
			<guid isPermaLink="false">15578@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl, this is really helpful.  The attachment would be a pdf so the download would initiate, or in some cases (safari) would be loaded into the browser - which is fine.  It looks like we may pursue another method entirely, and this is include the download link in a reply email.  But this conversation has been helpful.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "leaving redirect blank to redirect download"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/leaving-redirect-blank-to-redirect-download#post-15534</link>
			<pubDate>Wed, 05 Jan 2011 21:28:07 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">15534@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is the download file an image? Are you expecting the browser to start downloading the image? You realize this isn't going to initiate a download but rather simply display the image in the browser because of how browsers handle images right? It's slightly different than a zip file download which a browser can't display and therefore initiates a download and begins downloading the file.&#60;/p&#62;
&#60;p&#62;I'll see what we can do to handle this, but it's an odd use case.&#60;/p&#62;
&#60;p&#62;There are other ways to handle this, such as showing a thank you message and then using Javascript or the meta refresh to initiate a file download (ex. when you go to a page and it says &#34;Your download will begin in...&#34; message with a &#34;if it does not click this link to download.&#34; just in case.&#60;/p&#62;
&#60;p&#62;The problem with this scenario is as I mentioned above, the browser is going to display the image right than actually initiate a standard download action where it asks for them to save or open the file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hugegoudaface on "leaving redirect blank to redirect download"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/leaving-redirect-blank-to-redirect-download#post-15533</link>
			<pubDate>Wed, 05 Jan 2011 20:52:42 +0000</pubDate>
			<dc:creator>hugegoudaface</dc:creator>
			<guid isPermaLink="false">15533@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Oh but I feel like I'm so close, Carl!  To be more clear, the URL is actually generated dynamically by retrieving the post thumbnail url with:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_field_value_url&#38;quot;, &#38;quot;populate_url&#38;quot;);
function populate_url($value){
$image_id = get_post_thumbnail_id();
$image_url = wp_get_attachment_image_src($image_id,&#38;#39;large&#38;#39;, true);
return $image_url[0];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;From a usability perspective, it's just way more elegant to have the download start upon submit.  I guess then I'm making a feature request to allow save of form with a confirmation message redirect using a query string but the redirect field is blank.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "leaving redirect blank to redirect download"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/leaving-redirect-blank-to-redirect-download#post-15532</link>
			<pubDate>Wed, 05 Jan 2011 20:49:04 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">15532@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you have an entire URL you place the entire URL in the redirect field.  The query string builder is only for creating a dynamic query string that passes form data as part of the redirect.&#60;/p&#62;
&#60;p&#62;It's best to redirect to a thank you message that contains a download link for the download.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hugegoudaface on "leaving redirect blank to redirect download"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/leaving-redirect-blank-to-redirect-download#post-15531</link>
			<pubDate>Wed, 05 Jan 2011 20:44:26 +0000</pubDate>
			<dc:creator>hugegoudaface</dc:creator>
			<guid isPermaLink="false">15531@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm trying to redirect to a download upon submit.  To do so, I'm passing an entire URL (a post thumnbail permalink) as the query string.  But in order for this to work I'd need to leave the redirect field blank.  When I do, and save, the changes don't stick - it seems like it needs something in the field to take.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
