<?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: Change background colour of required fields?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/change-background-colour-of-required-fields</link>
		<description>Gravity Support Forums Topic: Change background colour of required fields?</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 09:12:39 +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/change-background-colour-of-required-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>Joe on "Change background colour of required fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-background-colour-of-required-fields#post-26062</link>
			<pubDate>Sat, 21 May 2011 06:45:47 +0000</pubDate>
			<dc:creator>Joe</dc:creator>
			<guid isPermaLink="false">26062@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, that's great.  I'll have a play.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Change background colour of required fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-background-colour-of-required-fields#post-26057</link>
			<pubDate>Sat, 21 May 2011 00:05:07 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">26057@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can do this with a minor customization. You would need to detect the list items that contain the &#34;gfield_required&#34; span and then use jQuery to add another class to that. Once you've added the class, you can use CSS inheritance to add additional styles to the inputs.&#60;/p&#62;
&#60;p&#62;Here's the code: &#60;a href=&#34;http://pastie.org/1934701&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1934701&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You would add that to your header.php file just before the &#38;lt;/ head&#38;gt; tag. That's also assuming that your theme has already loaded the jQuery library.&#60;/p&#62;
&#60;p&#62;Here's a screenshot of my test: &#60;a href=&#34;http://grab.by/aboU&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/aboU&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Hope that helps out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joe on "Change background colour of required fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/change-background-colour-of-required-fields#post-26056</link>
			<pubDate>Fri, 20 May 2011 23:35:11 +0000</pubDate>
			<dc:creator>Joe</dc:creator>
			<guid isPermaLink="false">26056@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to change colour of the input for required fields?&#60;/p&#62;
&#60;p&#62;For some reason, some people don't seem to see the asterisk, so I figured making the actual input a pastelly reddish colour if it is required.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
