<?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: Run Javascript on conditional form update</title>
		<link>https://legacy.forums.gravityhelp.com/topic/run-javascript-on-conditional-form-update</link>
		<description>Gravity Support Forums Topic: Run Javascript on conditional form update</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 18:42:15 +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/run-javascript-on-conditional-form-update" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Run Javascript on conditional form update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/run-javascript-on-conditional-form-update#post-82005</link>
			<pubDate>Thu, 18 Oct 2012 09:42:22 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">82005@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Jonathan,&#60;br /&#62;
What you could do is add an HTML field to your form and add the Javascript code to bind to the gform_post_conditional_logic hook. The following snippet should point you in the right direction.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/5078791&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5078791&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonathan.pottervilla on "Run Javascript on conditional form update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/run-javascript-on-conditional-form-update#post-81749</link>
			<pubDate>Wed, 17 Oct 2012 12:02:21 +0000</pubDate>
			<dc:creator>jonathan.pottervilla</dc:creator>
			<guid isPermaLink="false">81749@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep, exactly! Unfortunately, the form is for logged in users only--I could clone the form to something that I could show you, if you need to see it.&#60;/p&#62;
&#60;p&#62;- Jonathan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Run Javascript on conditional form update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/run-javascript-on-conditional-form-update#post-81290</link>
			<pubDate>Mon, 15 Oct 2012 21:40:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">81290@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have a link to the page where your form is embedded?&#60;/p&#62;
&#60;p&#62;What do you mean by &#34;conditional form update&#34;?  Do you mean that the length of the form changes when you click a field with conditional logic, and you want to update the length of the sidebar when that happens?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jonathan.pottervilla on "Run Javascript on conditional form update"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/run-javascript-on-conditional-form-update#post-81157</link>
			<pubDate>Mon, 15 Oct 2012 12:58:16 +0000</pubDate>
			<dc:creator>jonathan.pottervilla</dc:creator>
			<guid isPermaLink="false">81157@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I have a theme which runs the equal heights jQuery plugin to make the sidebar look nice. However, whenever I dynamically change the length of the content, I have to run the javascript call again to even things up. &#60;/p&#62;
&#60;p&#62;I'd love to be able to slip a line of javascript into the conditional form update to run the equal heights update and make things look nice.&#60;/p&#62;
&#60;p&#62;Is there a way (a hook, possibly?) to add an on_click function to a field in the form (I'm using a checkbox field).&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;- Jonathan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
