<?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: Clearing Default Field Values with jQuery when form is inside bootstrap modal</title>
		<link>https://legacy.forums.gravityhelp.com/topic/clearing-default-field-values-with-jquery-when-form-is-inside-bootstrap-modal</link>
		<description>Gravity Support Forums Topic: Clearing Default Field Values with jQuery when form is inside bootstrap modal</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 18:37:13 +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/clearing-default-field-values-with-jquery-when-form-is-inside-bootstrap-modal" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Clearing Default Field Values with jQuery when form is inside bootstrap modal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/clearing-default-field-values-with-jquery-when-form-is-inside-bootstrap-modal#post-90470</link>
			<pubDate>Tue, 13 Nov 2012 00:08:05 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">90470@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you share the URL to the page where this form is embedded?&#60;/p&#62;
&#60;p&#62;In general though, you're scripts will not be available after a validation error.  To ensure you're scripts are enqueued, even after a validation error, please see the gform_post_render hook:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_render&#60;/a&#62;&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
This jQuery hook is fired every time the form is rendered to allow custom jQuery to be executed. This includes initial form load, going to the next/previous page on multi-page forms, &#60;strong&#62;form rendered with validation errors&#60;/strong&#62;, confirmation message displayed, etc.
&#60;/p&#62;&#60;/blockquote&#62;</description>
		</item>
		<item>
			<title>handlebrand on "Clearing Default Field Values with jQuery when form is inside bootstrap modal"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/clearing-default-field-values-with-jquery-when-form-is-inside-bootstrap-modal#post-90323</link>
			<pubDate>Mon, 12 Nov 2012 17:04:57 +0000</pubDate>
			<dc:creator>handlebrand</dc:creator>
			<guid isPermaLink="false">90323@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a framework that has bootstrap built into the theme. I built a modal that shows the form but am running into a few issues. When you load the form and click on the inputs the values clear and reappear. Once you submit the form, and it returns errors the script no longer clears the inputs. I have been researching this for quite a while and am running out of options. Does anyone have any idea how I can get this to work? I also have tried to attach styling to radio buttons, select boxes, and other elements using jQuery and run into the same issue when the form returns errors. Thank you in advance for any help I may get.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
