<?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: Saving a value in a gform_advanced_settings input</title>
		<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input</link>
		<description>Gravity Support Forums Topic: Saving a value in a gform_advanced_settings input</description>
		<language>en-US</language>
		<pubDate>Tue, 07 Apr 2026 11:52:34 +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/saving-a-value-in-a-gform_advanced_settings-input" rel="self" type="application/rss+xml" />

		<item>
			<title>pauldewouters on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-81824</link>
			<pubDate>Wed, 17 Oct 2012 19:35:22 +0000</pubDate>
			<dc:creator>pauldewouters</dc:creator>
			<guid isPermaLink="false">81824@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi stvcg00&#60;/p&#62;
&#60;p&#62;did you manage to find a working solution? I'm struggling with this too...&#60;br /&#62;
I want to save a text input, but the onkeyup gives me an error:&#60;br /&#62;
cannot set property of null.&#60;/p&#62;
&#60;p&#62;I looked through a free addon from the WordPress.org repository, but it does things in a completely different way.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-77355</link>
			<pubDate>Tue, 25 Sep 2012 17:16:34 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">77355@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Alex&#60;br /&#62;
That did help...&#60;/p&#62;
&#60;p&#62;I looks like I may be able to do this...&#60;/p&#62;
&#60;p&#62;1) add my own custom js function....&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function SetFormProperty(name, value){
    if(value == undefined) {
        value = &#38;quot;&#38;quot;;
		}
    form[name] = value;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;2) add something like this to prepopulate the value&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery(document).bind(&#38;quot;gform_load_form_settings&#38;quot;, function(event, field, form) {
					if (typeof form.marketo_url !== &#38;quot;undefined&#38;quot;) {
						jQuery(&#38;quot;#field_marketo_url&#38;quot;).attr(&#38;quot;value&#38;quot;, form.marketo_url]);
					} else {
						jQuery(&#38;quot;#field_marketo_url&#38;quot;).attr(&#38;quot;value&#38;quot;, &#38;#39;&#38;#39;);
					}
				});&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-77352</link>
			<pubDate>Tue, 25 Sep 2012 16:43:47 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">77352@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Alex...  Your example is for form fields but not the over all form...&#60;br /&#62;
I am looking to add a property to the overall from panel not the form field panel.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-77348</link>
			<pubDate>Tue, 25 Sep 2012 16:33:49 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">77348@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;To save your custom setting, you need to save it to the global Javascript form object as the user types into your input (onkeyup) or makes a selection from a drop down (onchange). See example below.&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/4799603&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4799603&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Gravity Forms will take it from there and make sure it is saved to your database. From the hooks that accept the $form object (most of them do, but some don't), you will then be able to access your setting by using:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/4799600&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4799600&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I hope this helps.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-77344</link>
			<pubDate>Tue, 25 Sep 2012 16:07:22 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">77344@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How can one access the properties and methods of the form object any a hook?&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Form_Object&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Form_Object&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-77343</link>
			<pubDate>Tue, 25 Sep 2012 16:02:09 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">77343@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I tried using UpdateFormProperty to save the form data but it looks like this just writes to a DOM object... &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function UpdateFormProperty(name, value){
    jQuery(&#38;quot;#gform_&#38;quot; + name).html(value);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Maybe I need to write a custom javascript function that adds a property to the over all form object?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-75164</link>
			<pubDate>Thu, 13 Sep 2012 15:01:29 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">75164@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It look like this hook is better &#34;gform_properties_settings&#34; then &#34;gform_advanced_settings&#34; becuase it saves in the first tab... verse the advanced tab...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-75155</link>
			<pubDate>Thu, 13 Sep 2012 14:37:35 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">75155@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Looking through the gravity js file... It seems like there is global javascript variable called &#34;form&#34; that prints out these properites &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;button: Object
confirmation: Object
cssClass: &#38;quot;&#38;quot;
description: &#38;quot;&#38;quot;
descriptionPlacement: &#38;quot;below&#38;quot;
enableAnimation: false
enableHoneypot: true
fields: Array[10]
firstPageCssClass: null
id: 1
labelPlacement: &#38;quot;top_label&#38;quot;
lastPageButton: null
limitEntries: false
limitEntriesCount: &#38;quot;&#38;quot;
limitEntriesMessage: &#38;quot;&#38;quot;
limitEntriesPeriod: &#38;quot;&#38;quot;
maxEntriesMessage: &#38;quot;&#38;quot;
notification: Object
message: &#38;quot;{all_fields}&#38;quot;
subject: &#38;quot;New submission from {form_title}&#38;quot;
to: &#38;quot;{admin_email}&#38;quot;
__proto__: Object
pagination: null
postContentTemplate: &#38;quot;&#38;quot;
postContentTemplateEnabled: false
postTitleTemplate: &#38;quot;&#38;quot;
postTitleTemplateEnabled: false
requireLogin: false
requireLoginMessage: &#38;quot;&#38;quot;
scheduleEnd: &#38;quot;&#38;quot;
scheduleEndAmpm: &#38;quot;&#38;quot;
scheduleEndHour: &#38;quot;&#38;quot;
scheduleEndMinute: &#38;quot;&#38;quot;
scheduleForm: false
scheduleMessage: &#38;quot;&#38;quot;
scheduleStart: &#38;quot;&#38;quot;
scheduleStartAmpm: &#38;quot;&#38;quot;
scheduleStartHour: &#38;quot;&#38;quot;
scheduleStartMinute: &#38;quot;&#38;quot;
title: &#38;quot;Contact&#38;quot;
useCurrentUserAsAuthor: true
__proto__: Object&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I am disapointed to see that after I click save the value of custom input text box is not stored in this object...   It looks like I need to find the hook into this and create my own property when the user clicks save... &#60;/p&#62;
&#60;p&#62;I also still can not find the javascript event to hook into for the form panel...  It looks like &#34;gform_load_field_settings&#34; is not used for the form panel...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jive Software on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-75120</link>
			<pubDate>Thu, 13 Sep 2012 11:04:05 +0000</pubDate>
			<dc:creator>Jive Software</dc:creator>
			<guid isPermaLink="false">75120@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Alex&#60;br /&#62;
Thank you for the reply.  That is what I want to do &#34;create custom Form settings (displayed when clicking the form title)&#34;.   But I am having a hard time prepopulating the input text box with the data that was saved in previous posts. And I am having a hard time finding the documentation for this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Saving a value in a gform_advanced_settings input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/saving-a-value-in-a-gform_advanced_settings-input#post-75007</link>
			<pubDate>Wed, 12 Sep 2012 16:51:16 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">75007@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;gform_advanced_settings are used to create custom Form settings (displayed when clicking the form title). It looks like what you want is a field setting. If that is the case, take a look at gform_field_advanced_settings (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_advanced_settings)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_advanced_settings)&#60;/a&#62;.&#60;br /&#62;
There is an example on that page that completely implements a field setting. I would start from that example when implementing your custom field.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
