<?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 Tag: php - Recent Topics</title>
		<link>https://legacy.forums.gravityhelp.com/tags/php</link>
		<description>Gravity Support Forums Tag: php - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Thu, 16 Apr 2026 00:53:27 +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/tags/php/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>tripod0502 on "Custom Field Data + Array in Custom Post Meta"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-data-array-in-custom-post-meta#post-241530</link>
			<pubDate>Tue, 07 May 2013 15:22:05 +0000</pubDate>
			<dc:creator>tripod0502</dc:creator>
			<guid isPermaLink="false">241530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Guys! I am running GF and the Custom Post Plugin and I've run into a bit of a problem...&#60;/p&#62;
&#60;p&#62;The template I am using implements a custom post type as a &#34;directory&#34;&#60;/p&#62;
&#60;p&#62;I've created a form that will save the submission title, body and featured image into this custom post. But, I also have several custom fields (besides custom post related- Title, Body, etc.) who's data I would like to bundle into an array and inserted into the custom post's meta.&#60;/p&#62;
&#60;p&#62;Any pointers?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dustin on "Action A PHP Script upon form submission using an external php script"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/action-a-php-script-upon-form-submission-using-an-external-php-script#post-347996</link>
			<pubDate>Thu, 27 Jun 2013 10:47:30 +0000</pubDate>
			<dc:creator>dustin</dc:creator>
			<guid isPermaLink="false">347996@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi I wonder if anyone can help me?&#60;br /&#62;
I've got a call to action gravity form setup on my website where customers can enter their UK postcode and click submit. The user is then re-directed to another gravity form where they can complete their request. I've setup dynamic population so the input entered into form 1 gets populated in the second form.&#60;/p&#62;
&#60;p&#62;For Form 1 - when a user enters data &#38;amp; clicks submit (Before user is directed to form 2)&#60;br /&#62;
Upon submit I would like to action an external php script which would validate the user entry.&#60;/p&#62;
&#60;p&#62;I've tried various filters and actions But I just can't figure out how to action the PHP script.&#60;/p&#62;
&#60;p&#62;Link to form1 &#60;a href=&#34;http://my-insulation.info/&#34; rel=&#34;nofollow&#34;&#62;http://my-insulation.info/&#60;/a&#62; is the main page &#60;/p&#62;
&#60;p&#62;When I input data and click submit I get the following error -There was a problem with your submission. Errors have been highlighted below.&#60;/p&#62;
&#60;p&#62;I'm not a web developer &#38;amp; can't afford to hire one, If someone can offer any assistance I would greatly appreciate it -&#60;/p&#62;
&#60;p&#62;This is what I've done or got -&#60;/p&#62;
&#60;p&#62;//Code is placed in the themes function.php file&#60;br /&#62;
My PHP code can be seen here - &#60;a href=&#34;http://pastebin.com/S9S7dH09&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/S9S7dH09&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ultramel123 on "Remove text string from calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/remove-text-string-from-calculation#post-332572</link>
			<pubDate>Wed, 19 Jun 2013 16:58:18 +0000</pubDate>
			<dc:creator>ultramel123</dc:creator>
			<guid isPermaLink="false">332572@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there. &#60;/p&#62;
&#60;p&#62;In order to allow &#34;duplicate&#34; values in a dropdown menu, I would like to edit the dropdown menu as follows:&#60;/p&#62;
&#60;p&#62;Apples and Oranges &#124; 50-1&#60;br /&#62;
Oranges and Lemons &#124; 50-2&#60;br /&#62;
Pineapples &#124; 50-3&#60;br /&#62;
tomatoes &#124; 80-1&#60;/p&#62;
&#60;p&#62;I need to remove the &#34;-1&#34;, or &#34;-2&#34; from the dropdown menu's value for use in calculations. &#60;/p&#62;
&#60;p&#62;How can I remove the this when I calculate my form fields?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ultramel123 on "Dropdown value and label issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dropdown-value-and-label-issue#post-321277</link>
			<pubDate>Thu, 13 Jun 2013 17:22:47 +0000</pubDate>
			<dc:creator>ultramel123</dc:creator>
			<guid isPermaLink="false">321277@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;i have the following dropdown menu in my form.  This dropdown is duplicated (name is changed for each) through my form for each day which a conference is attended. &#60;/p&#62;
&#60;p&#62;the problem is, that the various drop down &#34;labels&#34; are not displaying with the relevant selections made. &#60;/p&#62;
&#60;p&#62;_______________________________&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Menu 1 - R80 - Curry &#38;amp; Rice, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;80
Menu 2 - R80 - Curry &#38;amp; Rice, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;80
Menu 3 - R80 - Beef Stroganoff, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;80
Menu 4 - R80 - Beef Stroganoff, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;80
Menu 5 - R80 - Chicken a la King, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;80
Menu 6 - R80 - Chicken a la King, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;80
Menu 7 - R90 - Spaghetti Bolognaise, two salads, Crispy bread rolls, Ice Cream &#38;amp; Fruit salad&#124;90
Menu 8 - R90 - Spaghetti Bolognaise, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;90
Menu 9 - R90 - Macaroni Cheese, two salads, Crispy bread rolls, Ice Cream &#38;amp; Fruit salad&#124;90
Menu 10 - R90 - Macaroni Cheese, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;90
Menu 11 - R90 - Chicken Pie, two salads, Crispy bread rolls, Ice Cream &#38;amp; Fruit salad&#124;90
Menu 12 - R90 - Chicken Pie, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;90
Menu 13 - R120 - Cold Meat, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;120
Menu 14 - R120 - Cold Meat, two salads, Crispy bread rolls, Ice Cream &#38;amp; Chocolate Sauce&#124;120
Menu 15 - R120 - Traditional Fish &#38;amp; Chips, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;120
Menu 16 - R120 - Traditional Fish &#38;amp; Chips, two salads, Crispy bread rolls, Ice Cream &#38;amp; Chocolate Sauce&#124;120&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;_______________________________&#60;/p&#62;
&#60;p&#62;If I select &#34;Menu 2&#34; - then the form displays &#34;Menu 1&#34;, with a value of &#34;80&#34;.  The &#34;dropdown label&#34; only changes when I select an option with a different value, such as &#34;Menu 16, value: &#34;120&#34;&#60;/p&#62;
&#60;p&#62;If I am not explaining correctly, the form can be viewed here:&#60;br /&#62;
&#60;a href=&#34;http://www.airport-game-lodge.co.za/?page_id=2890&#34; rel=&#34;nofollow&#34;&#62;http://www.airport-game-lodge.co.za/?page_id=2890&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you so much
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lowercase on "Change City label to Suburb"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-city-label-to-suburb#post-303864</link>
			<pubDate>Wed, 05 Jun 2013 11:14:53 +0000</pubDate>
			<dc:creator>lowercase</dc:creator>
			<guid isPermaLink="false">303864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to change the 'city' label in the address filed to 'Suburb'.&#60;br /&#62;
I am using filters within functions.php but it keeps breaking when i add this filter.&#60;/p&#62;
&#60;p&#62;My funcitons code is here...&#60;/p&#62;
&#60;p&#62;&#38;lt;?php&#60;br /&#62;
/**&#60;br /&#62;
 * @package WordPress&#60;br /&#62;
 * @subpackage Default_Theme&#60;br /&#62;
 */&#60;/p&#62;
&#60;p&#62;if ( function_exists('register_sidebar') ) {&#60;br /&#62;
	register_sidebar(array(&#60;br /&#62;
		'before_widget' =&#38;gt; '&#38;lt;li id=&#34;%1$s&#34; class=&#34;widget %2$s&#34;&#38;gt;',&#60;br /&#62;
		'after_widget' =&#38;gt; '',&#60;br /&#62;
		'before_title' =&#38;gt; '&#38;lt;h2 class=&#34;widgettitle&#34;&#38;gt;',&#60;br /&#62;
		'after_title' =&#38;gt; '&#38;lt;/h2&#38;gt;',&#60;br /&#62;
	));&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62; ?&#38;gt;&#60;br /&#62;
&#38;lt;?php&#60;br /&#62;
add_filter(&#34;gform_address_types&#34;, &#34;aus_address&#34;, 10, 2);&#60;br /&#62;
function aus_address($address_types, $form_id){&#60;br /&#62;
$address_types[&#34;australia&#34;] = array(&#60;br /&#62;
&#34;label&#34; =&#38;gt; &#34;Australia&#34;,&#60;br /&#62;
&#34;country&#34; =&#38;gt; &#34;Australia&#34;,&#60;br /&#62;
&#34;zip_label&#34; =&#38;gt; &#34;Postcode&#34;,&#60;br /&#62;
&#34;state_label&#34; =&#38;gt; &#34;State&#34;,&#60;br /&#62;
&#34;states&#34; =&#38;gt; array(&#34;NT&#34;=&#38;gt;&#34;NT&#34;, &#34;ACT&#34;=&#38;gt;&#34;ACT&#34;,&#34;NSW&#34;=&#38;gt;&#34;NSW&#34;, &#34;QLD&#34;=&#38;gt;&#34;QLD&#34;, &#34;VIC&#34;=&#38;gt;&#34;VIC&#34;, &#34;WA&#34;=&#38;gt;&#34;WA&#34;,&#34;SA&#34;=&#38;gt;&#34;SA&#34;, &#34;TAS&#34; =&#38;gt; &#34;TAS&#34;)&#60;br /&#62;
);&#60;br /&#62;
return $address_types;&#60;br /&#62;
}&#60;br /&#62;
?&#38;gt;&#60;/p&#62;
&#60;p&#62;?&#38;gt;&#60;br /&#62;
How do i now add the label change to above code without it breaking the site?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jimdavis on "A common form on every page/post?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-common-form-on-every-pagepost#post-301381</link>
			<pubDate>Tue, 04 Jun 2013 11:38:42 +0000</pubDate>
			<dc:creator>jimdavis</dc:creator>
			<guid isPermaLink="false">301381@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Prior to purchase I want to make sure I can design a form then have it appear on every page/post on my WordPress site. In other words, a form is not limited to appearing on just one page.&#60;br /&#62;
Thanks,&#60;br /&#62;
Jim
&#60;/p&#62;</description>
		</item>
		<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>
		<item>
			<title>rcandela on "Using Query Strings on Redirect page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-query-strings-on-redirect-page#post-163369</link>
			<pubDate>Thu, 07 Mar 2013 13:22:44 +0000</pubDate>
			<dc:creator>rcandela</dc:creator>
			<guid isPermaLink="false">163369@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm new to query strings, and am trying to get data to post to a redirect page after submit.  On my site, I'm using gravity forms so users can purchase a service.  The form redirects to PayPal and all is well.  After confirmation of payment, they are redirected to a new page.  I've passed the query string to the redirect page, but have absolutely no idea how to post data in Wordpress to show the query string.  Call me a novice developer, I guess.&#60;/p&#62;
&#60;p&#62;Could you give me the walk through, on how to populate data on a new page (not in a form), using the query string parameters outlined in the form settings, redirect page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>WDOY on "Advanced Conditional Logic ?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/advanced-conditional-logic#post-184576</link>
			<pubDate>Mon, 25 Mar 2013 22:08:18 +0000</pubDate>
			<dc:creator>WDOY</dc:creator>
			<guid isPermaLink="false">184576@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a client who wants to have 10 questions all with 3 radio buttons (A, B and C). At the end of the questionnaire an HTML box will display if most of the answers are A, a different one if most of the answers are B, and a different one if most of the answers are C. Is this possible with Gravity Forms? And does my explanation make sense? Thanks! :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Inky on "AWeber Settings page is blank..."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/aweber-settings-page-is-blank#post-200622</link>
			<pubDate>Mon, 08 Apr 2013 01:10:59 +0000</pubDate>
			<dc:creator>Inky</dc:creator>
			<guid isPermaLink="false">200622@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have been following the AWeber plugin installation instructions and the pluging installs and activates fine. However the Forms-&#38;gt;Settings-&#38;gt;AWeber settings page is blank apart from the Gravity Forms &#124; AWeber options at the top of the page.&#60;/p&#62;
&#60;p&#62;I have tried deactivating/uninstalling/installing/activating but no success.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
