<?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: Echo specific Gravity Form fields in a multi-step form into sidebar widget</title>
		<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget</link>
		<description>Gravity Support Forums Topic: Echo specific Gravity Form fields in a multi-step form into sidebar widget</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 10:02:23 +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/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-86113</link>
			<pubDate>Thu, 01 Nov 2012 07:08:56 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">86113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How are you doing it in the HTML field in the form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matsilva on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85835</link>
			<pubDate>Wed, 31 Oct 2012 14:58:54 +0000</pubDate>
			<dc:creator>matsilva</dc:creator>
			<guid isPermaLink="false">85835@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I believe it is.  I am really just trying to echo the uploaded image into the sidebar of the form as a preview of what was uploaded.  &#60;/p&#62;
&#60;p&#62;I just don't know how to pull it out of this array to display correctly.  I can do it perfectly with no hitch inside a form field html element but not in the sidebar.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85833</link>
			<pubDate>Wed, 31 Oct 2012 14:49:19 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">85833@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, that's good.  The file is in a tmp folder because the form has not yet been submitted.  Is this the information you needed?  I'm not sure how long that image location will be valid because it will be removed from there after the form is submitted.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matsilva on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85824</link>
			<pubDate>Wed, 31 Oct 2012 14:37:40 +0000</pubDate>
			<dc:creator>matsilva</dc:creator>
			<guid isPermaLink="false">85824@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes just array.  When using the var_dump I received&#60;/p&#62;
&#60;p&#62;&#60;code&#62;array(1) { [&#38;quot;input_2&#38;quot;]=&#38;gt; array(5) { [&#38;quot;name&#38;quot;]=&#38;gt; string(40) &#38;quot;Screen Shot 2012-10-28 at 2.19.33 AM.png&#38;quot; [&#38;quot;type&#38;quot;]=&#38;gt; string(9) &#38;quot;image/png&#38;quot; [&#38;quot;tmp_name&#38;quot;]=&#38;gt; string(14) &#38;quot;/tmp/phpamDHzP&#38;quot; [&#38;quot;error&#38;quot;]=&#38;gt; int(0) [&#38;quot;size&#38;quot;]=&#38;gt; int(59661) } }&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85817</link>
			<pubDate>Wed, 31 Oct 2012 14:30:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">85817@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When you print_r($_FILES) you still get array?  If that's the case, you can use var_dump($_FILES) which might work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matsilva on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85814</link>
			<pubDate>Wed, 31 Oct 2012 14:27:33 +0000</pubDate>
			<dc:creator>matsilva</dc:creator>
			<guid isPermaLink="false">85814@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That was what I did actually :)  &#60;/p&#62;
&#60;p&#62;However David mentioned not using $_FILES array for this.  He wasn't able to give me too much to go on and has helped me this far.  I think I just need to find the correct markup to echo the $value of the uploaded image into the sidebar.&#60;/p&#62;
&#60;p&#62;That is where I am currently stumped so far.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85799</link>
			<pubDate>Wed, 31 Oct 2012 14:11:58 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">85799@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You will need to get all the values out of the files array with something like print_r($_FILES);&#60;/p&#62;
&#60;p&#62;However, if you're working with David Smith, you're in good hands.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matsilva on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85772</link>
			<pubDate>Wed, 31 Oct 2012 13:15:56 +0000</pubDate>
			<dc:creator>matsilva</dc:creator>
			<guid isPermaLink="false">85772@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes I was able to get that far however it is only returning the word &#34;Array&#34;.&#60;/p&#62;
&#60;p&#62;David @ Gravity Wiz mentioned to me in an email that it may be better to focus on the function he has inside of the Better Pre-Submission Confirmation here &#60;a href=&#34;http://gravitywiz.com/2012/08/04/better-pre-submission-confirmation/&#34; rel=&#34;nofollow&#34;&#62;http://gravitywiz.com/2012/08/04/better-pre-submission-confirmation/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;by getting it to work with the single field ID.  I am not super sure where to start with echoing it but here is the function &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;public static function preview_image_display($field, $form, $value) {

        // need to get the tmp $file_info to retrieve real uploaded filename, otherwise will display ugly tmp name
        $input_name = &#38;quot;input_&#38;quot; . str_replace(&#38;#39;.&#38;#39;, &#38;#39;_&#38;#39;, $field[&#38;#39;id&#38;#39;]);
        $file_info = RGFormsModel::get_temp_filename($form[&#38;#39;id&#38;#39;], $input_name);

        $file_path = $value;
        if(!empty($file_path)){
            $file_path = esc_attr(str_replace(&#38;quot; &#38;quot;, &#38;quot;%20&#38;quot;, $file_path));
            $value = &#38;quot;&#38;lt;a href=&#38;#39;$file_path&#38;#39; target=&#38;#39;_blank&#38;#39; title=&#38;#39;&#38;quot; . __(&#38;quot;Click to view&#38;quot;, &#38;quot;gravityforms&#38;quot;) . &#38;quot;&#38;#39;&#38;gt;&#38;quot; . $file_info[&#38;#39;uploaded_filename&#38;#39;] . &#38;quot;&#38;lt;/a&#38;gt;&#38;quot;;
        }
        return $value;

    }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85647</link>
			<pubDate>Wed, 31 Oct 2012 09:39:47 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">85647@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the update on the AJAX functionality.&#60;/p&#62;
&#60;p&#62;For the image upload, you might want to look at the $_FILES global, rather than $_POST.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>matsilva on "Echo specific Gravity Form fields in a multi-step form into sidebar widget"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/echo-specific-gravity-form-fields-in-a-multi-step-form-into-sidebar-widget#post-85287</link>
			<pubDate>Tue, 30 Oct 2012 16:10:41 +0000</pubDate>
			<dc:creator>matsilva</dc:creator>
			<guid isPermaLink="false">85287@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For anyone else's reference I was able to find out why this wasn't working.  You must have AJAX turned off for the specific form and then you will be able to echo submitted fields into the sidebar.  &#60;/p&#62;
&#60;p&#62;However it doesn't seem to work with the standard image upload and displaying that in the sidebar.  Still looking for a workaround for this.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
