<?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: Highlight entire form field, including label on focus</title>
		<link>https://legacy.forums.gravityhelp.com/topic/highlight-entire-form-field-including-label-on-focus</link>
		<description>Gravity Support Forums Topic: Highlight entire form field, including label on focus</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:26:20 +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/highlight-entire-form-field-including-label-on-focus" rel="self" type="application/rss+xml" />

		<item>
			<title>waldhorn on "Highlight entire form field, including label on focus"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/highlight-entire-form-field-including-label-on-focus#post-46401</link>
			<pubDate>Sat, 14 Jan 2012 19:48:54 +0000</pubDate>
			<dc:creator>waldhorn</dc:creator>
			<guid isPermaLink="false">46401@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Important note: David's code snippet works except on radio buttons and check boxes within webkit (Safari and Chrome). jQuery focusin or focusout exhibit the same problem.&#60;/p&#62;
&#60;p&#62;It seems that we need to detect clicks in addition to David's solution of detecting focus and blur. My, albeit crude, solution is to enter the following code below David's snippet:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$(&#38;quot;input&#38;quot;).click(function () {
	$(&#38;quot;.gfield&#38;quot;).removeClass(&#38;quot;focus&#38;quot;);
	$(this).parents(&#38;quot;.gfield&#38;quot;).addClass(&#38;quot;focus&#38;quot;);
});&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>David Smith on "Highlight entire form field, including label on focus"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/highlight-entire-form-field-including-label-on-focus#post-40295</link>
			<pubDate>Mon, 07 Nov 2011 16:57:52 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">40295@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi gluethje,&#60;/p&#62;
&#60;p&#62;Here is a very basic version of this functionality:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/2827349&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2827349&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You would paste this in your theme's functions.php file and update the &#34;.gfield.focus { background-color: #f7f7f7; }&#34; style to your preference.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gluethje on "Highlight entire form field, including label on focus"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/highlight-entire-form-field-including-label-on-focus#post-40283</link>
			<pubDate>Mon, 07 Nov 2011 15:15:12 +0000</pubDate>
			<dc:creator>gluethje</dc:creator>
			<guid isPermaLink="false">40283@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to highlight the entire form field and label on focus, similar to a lot of other form systems out there, like Wufoo? See this example: &#60;a href=&#34;http://caferoka.com/contact.html&#34; rel=&#34;nofollow&#34;&#62;http://caferoka.com/contact.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I think this is a very useful feature from a user experience perspective, and I wish it was part of this plugin...or maybe it is, and I'm just missing it? Thanks for looking!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
