<?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: Adding New Fields With PHP</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-new-fields-with-php</link>
		<description>Gravity Support Forums Topic: Adding New Fields With PHP</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:49:24 +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/adding-new-fields-with-php" rel="self" type="application/rss+xml" />

		<item>
			<title>cgrymala on "Adding New Fields With PHP"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-new-fields-with-php#post-245332</link>
			<pubDate>Thu, 09 May 2013 22:17:34 +0000</pubDate>
			<dc:creator>cgrymala</dc:creator>
			<guid isPermaLink="false">245332@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to set up a form (integrated with Authorize.net) that will basically act as a &#34;checkout&#34; for an order form I need to set up. The order form will have anywhere from 100-500 different options, but each customer will probably never choose more than 5 of them at any time.&#60;/p&#62;
&#60;p&#62;Because of the nature of the items on the order form (they change extremely regularly), I have to generate that initial order form dynamically (outside of Gravity Forms).&#60;/p&#62;
&#60;p&#62;Basically, once the user submits that initial form, I want to dynamically add a new hidden product field for each product they chose to the Gravity Form used for checkout.&#60;/p&#62;
&#60;p&#62;Which filters/actions do I need to hook into in order to add these hidden product fields dynamically? &#60;/p&#62;
&#60;p&#62;I assume I'll have to hook into the gform_pre_render filter in order to add the hidden fields to the form itself when it's loaded on the front-end, but what other filters do I need to hook into in order to make sure those product choices are stored in the database, sent appropriately to Authorize.net, and included in any notification emails that are sent? &#60;/p&#62;
&#60;p&#62;Also, is there any documentation on the structure of hidden product fields so that I know what information to add to the form object? Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
