<?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: Gform_field_standard_settings more advanced examples</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples</link>
		<description>Gravity Support Forums Topic: Gform_field_standard_settings more advanced examples</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 02:41:54 +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/gform_field_standard_settings-more-advanced-examples" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Gform_field_standard_settings more advanced examples"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples#post-74343</link>
			<pubDate>Fri, 07 Sep 2012 07:11:09 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">74343@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm glad you got that worked out.  Thank you for posting your update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Gform_field_standard_settings more advanced examples"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples#post-74276</link>
			<pubDate>Thu, 06 Sep 2012 19:57:19 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">74276@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I was able to find a solution....&#60;/p&#62;
&#60;p&#62;It seems the value is appended via javascript and it uses the same input html for each field...  So I need to detect the to see if the custom property exisited, and if &#34;undefined&#34; then set value attribute to blank...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_editor_js&#38;quot;, &#38;quot;editor_script&#38;quot;);
function editor_script(){
    ?&#38;gt;
    &#38;lt;script type=&#38;#39;text/javascript&#38;#39;&#38;gt;
				jQuery.each(fieldSettings, function(index, value) {
					fieldSettings[index] += &#38;quot;, .marketo_setting&#38;quot;;
				});

				jQuery(document).bind(&#38;quot;gform_load_field_settings&#38;quot;, function(event, field, form) {

					if (typeof field[&#38;quot;marketoName&#38;quot;] !== &#38;quot;undefined&#38;quot;) {
						jQuery(&#38;quot;#field_marketo_name&#38;quot;).attr(&#38;quot;value&#38;quot;, field[&#38;quot;marketoName&#38;quot;]);
					} else {
						jQuery(&#38;quot;#field_marketo_name&#38;quot;).attr(&#38;quot;value&#38;quot;, &#38;#39;&#38;#39;);
					}

				});

    &#38;lt;/script&#38;gt;
    &#38;lt;?php
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Gform_field_standard_settings more advanced examples"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples#post-74110</link>
			<pubDate>Thu, 06 Sep 2012 01:56:27 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">74110@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Now the issue I am having is if prexisting data was saved in the field_marketo_name and I change it something new and click the update form button. The information does not save.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Gform_field_standard_settings more advanced examples"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples#post-74107</link>
			<pubDate>Thu, 06 Sep 2012 01:02:06 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">74107@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_field_standard_settings&#38;quot;, &#38;quot;my_marketo_settings&#38;quot;, 10, 2);

function my_marketo_settings($position, $form_id){

	if($position == 0) {
	?&#38;gt;
		&#38;lt;li class=&#38;quot;marketo_setting field_setting&#38;quot;&#38;gt;
				&#38;lt;label for=&#38;quot;field_marketo_label&#38;quot;&#38;gt;
						&#38;lt;?php _e(&#38;quot;Marketo Field Name&#38;quot;, &#38;quot;gravityforms&#38;quot;); ?&#38;gt;
						&#38;lt;?php
							gform_tooltip(&#38;quot;form_field_marketo_name&#38;quot;)
						?&#38;gt;
				&#38;lt;/label&#38;gt;
        &#38;lt;input type=&#38;quot;text&#38;quot;  id=&#38;quot;field_marketo_name&#38;quot; class=&#38;quot;fieldwidth-3&#38;quot; onfocus=&#38;quot;SetFieldProperty(&#38;#39;marketoName&#38;#39;, this.value);&#38;quot; value=&#38;quot;&#38;quot; size=&#38;quot;35&#38;quot;/&#38;gt;
		&#38;lt;/li&#38;gt;
	&#38;lt;?php
	}
}

add_action(&#38;quot;gform_editor_js&#38;quot;, &#38;quot;editor_script&#38;quot;);

function editor_script(){
    ?&#38;gt;
    &#38;lt;script type=&#38;#39;text/javascript&#38;#39;&#38;gt;

				jQuery.each(fieldSettings, function(index, value) {
					fieldSettings[index] += &#38;quot;, .marketo_setting&#38;quot;;
				});

        //binding to the load field settings event to initialize the checkbox
        jQuery(document).bind(&#38;quot;gform_load_field_settings&#38;quot;, function(event, field, form) {
            jQuery(&#38;quot;#field_marketo_name&#38;quot;).attr(&#38;quot;value&#38;quot;, field[&#38;quot;marketoName&#38;quot;]);
        });
    &#38;lt;/script&#38;gt;
    &#38;lt;?php
}

add_filter(&#38;#39;gform_tooltips&#38;#39;, &#38;#39;add_my_marketo_tooltips&#38;#39;);

function add_my_marketo_tooltips($tooltips){
   $tooltips[&#38;quot;form_field_marketo_name&#38;quot;] = &#38;quot;&#38;lt;h6&#38;gt;Marketo Name&#38;lt;/h6&#38;gt;Enter the marketo field name&#38;quot;;
   return $tooltips;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Gform_field_standard_settings more advanced examples"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples#post-74099</link>
			<pubDate>Wed, 05 Sep 2012 23:52:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">74099@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you show us the code you are using and the form you are working with?  We should be able to help you better with more information.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Gform_field_standard_settings more advanced examples"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_standard_settings-more-advanced-examples#post-74071</link>
			<pubDate>Wed, 05 Sep 2012 18:56:32 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">74071@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am having difficulty with Gform_field_standard_settings.&#60;br /&#62;
The example in documentation is very a simplistic example and I wish they provided several different examples...&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_standard_settings&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_standard_settings&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am trying to repurpose this to use a simple input text box but having a difficult time figuring how to prepopulate the box after the user has entered the data. I am also having a difficult time figuring out how to access the entry object and form object from this filter...  I tried declaring globals and or passing more then 2 arguments into the function.&#60;/p&#62;
&#60;p&#62;Steve
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
