<?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: Form losing styles on submit / error state</title>
		<link>https://legacy.forums.gravityhelp.com/topic/form-losing-styles-on-submit-error-state</link>
		<description>Gravity Support Forums Topic: Form losing styles on submit / error state</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 10:28:48 +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/form-losing-styles-on-submit-error-state" rel="self" type="application/rss+xml" />

		<item>
			<title>Interact on "Form losing styles on submit / error state"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-losing-styles-on-submit-error-state#post-29777</link>
			<pubDate>Tue, 12 Jul 2011 10:24:36 +0000</pubDate>
			<dc:creator>Interact</dc:creator>
			<guid isPermaLink="false">29777@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your help with this Kevin muchos appriciated
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Form losing styles on submit / error state"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-losing-styles-on-submit-error-state#post-29775</link>
			<pubDate>Tue, 12 Jul 2011 10:19:03 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">29775@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So, this isn't a default form styling issue apparently, it's related to a third party js script you're using for styling the form.. &#60;a href=&#34;http://uniformjs.com/&#34; rel=&#34;nofollow&#34;&#62;http://uniformjs.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm sure this is related to the script and the ajax implementation on the form. The script replaces content, images, styles, etc. on the document load and when the form is submitted via ajax the document does not reload and therefore the new form elements don't get the shiny new styles. If you turn off the ajax submission method, you'll probably see that it works just fine.&#60;/p&#62;
&#60;p&#62;You'll have to either ditch the ajax submission if you want that to work, or use something like this to reload the script for validation errors.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/call-javascript-function-upon-validation-error&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/call-javascript-function-upon-validation-error&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Interact on "Form losing styles on submit / error state"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-losing-styles-on-submit-error-state#post-29771</link>
			<pubDate>Tue, 12 Jul 2011 09:24:22 +0000</pubDate>
			<dc:creator>Interact</dc:creator>
			<guid isPermaLink="false">29771@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the quick response...&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.interact-intranet.com/contact-us/&#34; rel=&#34;nofollow&#34;&#62;http://www.interact-intranet.com/contact-us/&#60;/a&#62; (example form).&#60;/p&#62;
&#60;p&#62;The forms work properly and validates. &#60;/p&#62;
&#60;p&#62;The form preview itself does not have the correct styling at all (I've not used that yet).&#60;/p&#62;
&#60;p&#62;Does this help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Form losing styles on submit / error state"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-losing-styles-on-submit-error-state#post-29769</link>
			<pubDate>Tue, 12 Jul 2011 09:10:14 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">29769@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post a URL to your form? I'm not going to be able to debug it with just the information above.&#60;/p&#62;
&#60;p&#62;Also, can you confirm that your form works/validates properly in the preview page?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Interact on "Form losing styles on submit / error state"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/form-losing-styles-on-submit-error-state#post-29764</link>
			<pubDate>Tue, 12 Jul 2011 08:39:23 +0000</pubDate>
			<dc:creator>Interact</dc:creator>
			<guid isPermaLink="false">29764@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I recently implemented gravity forms on our website (which works really well for us). I did notice that if we submit a form incorrectly and the form highlights all the errors they also lose some styling (drop downs and submit button).&#60;/p&#62;
&#60;p&#62;I've tried to fix this but it looks as if the html changes and it loses the span? Can anyone help me with this?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;div class=&#38;quot;gform_footer top_label&#38;quot;&#38;gt;
&#38;lt;input type=&#38;quot;submit&#38;quot; tabindex=&#38;quot;9&#38;quot; value=&#38;quot;Download The Intranet Report&#38;quot; class=&#38;quot;button gform_button&#38;quot; id=&#38;quot;gform_submit_button_15&#38;quot;&#38;gt;

&#38;lt;div class=&#38;quot;gform_footer top_label&#38;quot;&#38;gt;
&#38;lt;div class=&#38;quot;button&#38;quot; id=&#38;quot;uniform-gform_submit_button_15&#38;quot; style=&#38;quot;-moz-user-select: none;&#38;quot;&#38;gt;
&#38;lt;span&#38;gt;Download The Intranet Report&#38;lt;input type=&#38;quot;submit&#38;quot; tabindex=&#38;quot;9&#38;quot; value=&#38;quot;Download The Intranet Report&#38;quot; class=&#38;quot;button gform_button&#38;quot; id=&#38;quot;Submit1&#38;quot; style=&#38;quot;opacity: 0;&#38;quot;&#38;gt;&#38;lt;/span&#38;gt;
  &#38;lt;/div&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks guys
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
