<?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: GF Plugin Causes jQuery Conflict</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict</link>
		<description>Gravity Support Forums Topic: GF Plugin Causes jQuery Conflict</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 23:57:09 +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/gf-plugin-causes-jquery-conflict" rel="self" type="application/rss+xml" />

		<item>
			<title>Travis on "GF Plugin Causes jQuery Conflict"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict#post-60901</link>
			<pubDate>Wed, 30 May 2012 20:18:37 +0000</pubDate>
			<dc:creator>Travis</dc:creator>
			<guid isPermaLink="false">60901@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I solved this, but there seems to be something wrong with Gravity Forms that I am working around when I customized the input fields.&#60;/p&#62;
&#60;p&#62;I added a JS file via the gform_post_paging hook that went into the hidden fields and added a checked attribute.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Adds Checked attribute to hidden fields on page 2 of form
add_action( &#38;#39;gform_post_paging&#38;#39;, &#38;#39;wps_gform_add_checked&#38;#39; );
function wps_gform_add_checked( $form ) {

	// Enqueue script only on the proper form
	if ( 5 == $form[&#38;#39;id&#38;#39;] &#38;amp;&#38;amp; ! is_admin() ) {
		wp_enqueue_script( &#38;#39;wps_gf_checked&#38;#39;, plugins_url( &#38;#39;js/checked.js&#38;#39;, __FILE__ ), array( &#38;#39;jquery&#38;#39; ), &#38;#39;1.0&#38;#39; ); 

		$args = array(
			&#38;#39;input_5&#38;#39; =&#38;gt; $_POST[&#38;#39;input_5&#38;#39;],
			&#38;#39;input_8&#38;#39; =&#38;gt; $_POST[&#38;#39;input_8&#38;#39;],
		);
		wp_localize_script( &#38;#39;wps_gf_checked&#38;#39;, &#38;#39;wps_gf_checked&#38;#39;, $args );
	}
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The JS file:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;jQuery(function($) {

	$(&#38;#39;#gform_page_5_1 #input_5_5 input&#38;#39;).each(function() {
		if(wps_gf_checked.input_5 == $(this).val())
			$(this).attr(&#38;#39;checked&#38;#39;,&#38;#39;checked&#38;#39;)
	});

	$(&#38;#39;#gform_page_5_1 #input_5_8 input&#38;#39;).each(function() {
		if(wps_gf_checked.input_8 == $(this).val())
			$(this).attr(&#38;#39;checked&#38;#39;,&#38;#39;checked&#38;#39;)
	});

});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;However, it seems that GF should have stored the $_POST correctly. Because on page 2, here is the $_POST var:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Array ( [input_5] =&#38;gt; design02 [input_8] =&#38;gt; background02 [input_1] =&#38;gt; [input_6] =&#38;gt; [input_2_3] =&#38;gt; [input_2_6] =&#38;gt; [input_3_1] =&#38;gt; [input_3_2] =&#38;gt; [input_3_3] =&#38;gt; [input_3_4] =&#38;gt; [input_3_5] =&#38;gt; [input_3_6] =&#38;gt; [input_4] =&#38;gt; [input_11] =&#38;gt; [is_submit_5] =&#38;gt; 1 [gform_submit] =&#38;gt; 5 [gform_unique_id] =&#38;gt; 4fc6b84796a84 [state_5] =&#38;gt; {DELETED by wpsmith} = [gform_target_page_number_5] =&#38;gt; 2 [gform_source_page_number_5] =&#38;gt; 1 [gform_field_values] =&#38;gt; )&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, $_POST obviously sees that input_5 and input_8 are saved correctly, even with the same nomenclature as GF. So I do not understand why GF didn't automatically check these as appropriate. Thoughts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Travis on "GF Plugin Causes jQuery Conflict"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict#post-60899</link>
			<pubDate>Wed, 30 May 2012 19:19:48 +0000</pubDate>
			<dc:creator>Travis</dc:creator>
			<guid isPermaLink="false">60899@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Alex,&#60;/p&#62;
&#60;p&#62;Instead of the jQuery conflict now (on a clean MS install), my 2 customized fields won't save though I see the in $_POST. Am I going to need to hook into gform_pre_submission to make it work?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Travis
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "GF Plugin Causes jQuery Conflict"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict#post-60841</link>
			<pubDate>Wed, 30 May 2012 15:00:53 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">60841@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't get the error. Everything seems to be working OK here. If you want to send me a WP admin login and an FTP login to &#60;a href=&#34;mailto:alex@rocketgenius.com&#34;&#62;alex@rocketgenius.com&#60;/a&#62; I can take a closer look for you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Travis on "GF Plugin Causes jQuery Conflict"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict#post-60839</link>
			<pubDate>Wed, 30 May 2012 14:54:49 +0000</pubDate>
			<dc:creator>Travis</dc:creator>
			<guid isPermaLink="false">60839@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Alex, the JS errors are as follows.&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Install plugin &#38;amp; activate&#60;/li&#62;
&#60;li&#62;Import sample form (get form ID)&#60;/li&#62;
&#60;li&#62;Modify plugin (line 32, $wps_gform_id = FORM ID; designed for only one form)&#60;/li&#62;
&#60;li&#62;Edit sample form; Add field&#60;/li&#62;
&#60;li&#62;Error&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;Thanks, Alex!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "GF Plugin Causes jQuery Conflict"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict#post-60838</link>
			<pubDate>Wed, 30 May 2012 14:50:09 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">60838@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;i have installed the plugin and imported your sample form, but I don't see any javascript errors. What are the steps I need to take in order to see the error?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Travis on "GF Plugin Causes jQuery Conflict"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gf-plugin-causes-jquery-conflict#post-60790</link>
			<pubDate>Wed, 30 May 2012 11:20:13 +0000</pubDate>
			<dc:creator>Travis</dc:creator>
			<guid isPermaLink="false">60790@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In a Gravity Form customization I made, which is just a mere edit the input fields, it causes a javascript error with tw-sack.js when adding additional fields.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wpsmith.net/files/gravity_forms/gf-preview.zip&#34; rel=&#34;nofollow&#34;&#62;GF Customization Plugin&#60;/a&#62; (sample form included).&#60;/p&#62;
&#60;p&#62;No other plugins are installed. Only GF 1.6.4.4.2 on WP 3.3.x. Any help is greatly appreciated.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
