<?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: How do we style validation errors?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors</link>
		<description>Gravity Support Forums Topic: How do we style validation errors?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:22:05 +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/how-do-we-style-validation-errors" rel="self" type="application/rss+xml" />

		<item>
			<title>jackbarham on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-28547</link>
			<pubDate>Sat, 25 Jun 2011 10:30:43 +0000</pubDate>
			<dc:creator>jackbarham</dc:creator>
			<guid isPermaLink="false">28547@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome, thank you - Easy when you know how :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-28018</link>
			<pubDate>Fri, 17 Jun 2011 11:26:12 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">28018@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You want to add a red border to the entire form if there is an error? Not just the required inputs..?&#60;/p&#62;
&#60;p&#62;If so, you would do that like this. You would want to apply this to an individual form an not to all of them I'm sure. Just replace the XX in the example below with your actual form ID.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]

body #gform_wrapper_XX.gform_validation_error {
    border: 2px solid red;
    padding: 10px;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/anqG&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/anqG&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jackbarham on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-28015</link>
			<pubDate>Fri, 17 Jun 2011 11:14:21 +0000</pubDate>
			<dc:creator>jackbarham</dc:creator>
			<guid isPermaLink="false">28015@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for replying back to my query - I was able to hide the error message and also change the colour, however I was hoping to change the form colour itself.&#60;/p&#62;
&#60;p&#62;Say for instance the form/input border is grey - When there is an error I would like to change the border colour to red.&#60;/p&#62;
&#60;p&#62;This allows the user to see there is an error without having to display an error message ..?&#60;/p&#62;
&#60;p&#62;Thanks again - J
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-28013</link>
			<pubDate>Fri, 17 Jun 2011 11:10:39 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">28013@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can change the validation error message using a filter but you can't remove it completely. You can use CSS to hide it if you prefer it not to be visible.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation_message&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation_message&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Assuming you're talking about changing the color for the validation error, yes you would simply target the input this way.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[css]
body .gform_wrapper .gfield_error input  {
    border: 1px solid #790000;
    color: red;
    font-size: 1.5em;
    font-weight: bold;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;screenshot: &#60;a href=&#34;http://grab.by/anpR&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/anpR&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples#Validation_Errors&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/CSS_Targeting_Samples#Validation_Errors&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jackbarham on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-28009</link>
			<pubDate>Fri, 17 Jun 2011 09:44:02 +0000</pubDate>
			<dc:creator>jackbarham</dc:creator>
			<guid isPermaLink="false">28009@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to remove the error message and have the form input display a different colour at all ..?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-13182</link>
			<pubDate>Tue, 23 Nov 2010 11:42:06 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">13182@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've removed some of the rules in the new v1.5 forms.css file to make it easier to style/override the validation styles.&#60;/p&#62;
&#60;p&#62;You should be able to do this with better specificity even in the current version. Better specificity will override !important declarations.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;body .gform_wrapper .gform_body ul.gform_fields li.gfield_error {
  border:1px solid #f80
  background-color:#f7941d!important
}

body .gform_wrapper .gform_body ul.gform_fields li.gfield_error label,
body .gform_wrapper .gform_body ul.gform_fields li.gfield_error div.validation_message {
  color:#0076a3!important
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;&#60;a href=&#34;http://grab.by/7xGy&#34; rel=&#34;nofollow&#34;&#62;Test Screenshot - Version 1.4.5&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>inigomedia on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-13181</link>
			<pubDate>Tue, 23 Nov 2010 11:20:20 +0000</pubDate>
			<dc:creator>inigomedia</dc:creator>
			<guid isPermaLink="false">13181@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Unfortunately we can't - it's just a standard form though, no custom classes set, etc.&#60;/p&#62;
&#60;p&#62;We added the aforementioned classes such as validation_error to the CSS file of the theme, but they're being overruled by the plugin's internal CSS files.&#60;/p&#62;
&#60;p&#62;It would be great to see the ability when creating the form to control the classes used on the errors, or indeed to edit the CSS relevant to them directly in the plugin. In the meantime we've just turned off the CSS style output in the plugin settings.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-13179</link>
			<pubDate>Tue, 23 Nov 2010 10:37:05 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">13179@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post a URL to your form? I'll be happy to take a look and make suggestions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>inigomedia on "How do we style validation errors?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-do-we-style-validation-errors#post-13178</link>
			<pubDate>Tue, 23 Nov 2010 10:32:17 +0000</pubDate>
			<dc:creator>inigomedia</dc:creator>
			<guid isPermaLink="false">13178@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;We've added styles for text colour on gform_wrapper, and colour / text size adjustments on gfield_error, validation_error and validation_message to our theme's style.css file, but these are being overruled by the default error styling.&#60;/p&#62;
&#60;p&#62;Even adding !important to each item hasn't helped. We don't want to edit the plugin's own CSS files as these will break with any update to the plugin. Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
