<?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: 2-page form, displaying on 2nd page, want to skip empty fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/2-page-form-displaying-on-2nd-page-want-to-skip-empty-fields</link>
		<description>Gravity Support Forums Topic: 2-page form, displaying on 2nd page, want to skip empty fields</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:40:02 +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/2-page-form-displaying-on-2nd-page-want-to-skip-empty-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>johnnyriss on "2-page form, displaying on 2nd page, want to skip empty fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/2-page-form-displaying-on-2nd-page-want-to-skip-empty-fields#post-204853</link>
			<pubDate>Thu, 11 Apr 2013 00:58:43 +0000</pubDate>
			<dc:creator>johnnyriss</dc:creator>
			<guid isPermaLink="false">204853@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greetings,&#60;br /&#62;
I'm trying to do exactly what this post title suggests.&#60;br /&#62;
Here's my test page: &#60;a href=&#34;http://goo.gl/8zV8c&#34; rel=&#34;nofollow&#34;&#62;http://goo.gl/8zV8c&#60;/a&#62;&#60;br /&#62;
Page 1 of my form will have 125 products to choose from, each with a quantity field.&#60;br /&#62;
Page 2, the html field should display only values that the user has entered on Page 1 along with the product title and price.&#60;br /&#62;
I've messed around with the foreach loop that builds the html content as outlined in the third code snippet here:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//this is a complex fieldset (name, adress, etc.) - get individual field info
					foreach($field[&#38;quot;inputs&#38;quot;] as $input){
						//get name of individual field, replace period with underscore when pulling from post
						$input_name = &#38;quot;input_&#38;quot; . str_replace(&#38;quot;.&#38;quot;,&#38;quot;_&#38;quot;,$input[&#38;quot;id&#38;quot;]);
						$value = rgpost($input_name);
						$html_content .= &#38;quot;&#38;lt;li&#38;gt;&#38;quot; . $value . &#38;quot; value: &#38;quot; . $input_name . &#38;quot;&#38;lt;/li&#38;gt;&#38;quot;;
					}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But I don't know how to check to see if the user has entered a quantity for a specific product field or not.&#60;br /&#62;
Any help is greatly appreciated.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
