<?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: Disable focus event that removes default values</title>
		<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values</link>
		<description>Gravity Support Forums Topic: Disable focus event that removes default values</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 07:11:38 +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/disable-focus-event-that-removes-default-values" rel="self" type="application/rss+xml" />

		<item>
			<title>henkinschultz on "Disable focus event that removes default values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values#post-23867</link>
			<pubDate>Thu, 21 Apr 2011 13:01:46 +0000</pubDate>
			<dc:creator>henkinschultz</dc:creator>
			<guid isPermaLink="false">23867@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks so much! Got things working perfectly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Disable focus event that removes default values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values#post-23856</link>
			<pubDate>Thu, 21 Apr 2011 11:38:00 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23856@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You shouldn't have anything auto-clearing values then if HTML5 is turned off.  There is no auto-clear on focus functionality built into Gravity Forms.  You must have other code in your theme (or another plugin) that is causing this issue.&#60;/p&#62;
&#60;p&#62;I have narrowed it down to JS in this script that your site is loading:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.actgen.org/wp-content/themes/thewall/js/library.js&#34; rel=&#34;nofollow&#34;&#62;http://www.actgen.org/wp-content/themes/thewall/js/library.js&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;It contains code that if the field is a text field it auto-clears the value.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>henkinschultz on "Disable focus event that removes default values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values#post-23853</link>
			<pubDate>Thu, 21 Apr 2011 11:29:56 +0000</pubDate>
			<dc:creator>henkinschultz</dc:creator>
			<guid isPermaLink="false">23853@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's odd. I checked and it was set to no (turned off) all along. Any other thoughts?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Disable focus event that removes default values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values#post-23852</link>
			<pubDate>Thu, 21 Apr 2011 11:20:39 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23852@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You must have HTML5 turned on in the Gravity Forms Settings.  If you have HTML5 turned on then the Website field uses the HTML5 placeholder attribute.  This automatically does what you describe above, there is no way to change this behavior.  The placeholder attribute acts only as a placeholder and clears on focus automatically.  It doesn't retain the placeholder value.  It is only intended as a visual guide. You would have to turn HTML5 output off in the Gravity Forms Settings in order for this not to happen.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>henkinschultz on "Disable focus event that removes default values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values#post-23800</link>
			<pubDate>Wed, 20 Apr 2011 18:38:55 +0000</pubDate>
			<dc:creator>henkinschultz</dc:creator>
			<guid isPermaLink="false">23800@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Additional... if you go to that page, you'll have to select Apply Online in the how to apply section to see the field in question.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>henkinschultz on "Disable focus event that removes default values"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/disable-focus-event-that-removes-default-values#post-23798</link>
			<pubDate>Wed, 20 Apr 2011 18:36:46 +0000</pubDate>
			<dc:creator>henkinschultz</dc:creator>
			<guid isPermaLink="false">23798@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have found a few posts on the support forum that request the feature to remove default values for fields when on focus and that's awesome. But now I have a situation where I want that default value to stay there when the field is in focus.&#60;/p&#62;
&#60;p&#62;Here's my situation. I'm using a Custom Field from the Post Field menu and have specified the field type as Website. I have insert &#34;http://&#34; as the default value so that the user knows they need to include that. However, when the field is in focus that text just disappears anyway and they need to retype it. I want it to stay there so they can just continue typing &#60;a href=&#34;http://www.abc.com&#34; rel=&#34;nofollow&#34;&#62;http://www.abc.com&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;Is there a way to disable this feature? Here's a link to the form in question.&#60;br /&#62;
&#60;a href=&#34;http://www.actgen.org/bridges-home/post-a-job&#34; rel=&#34;nofollow&#34;&#62;http://www.actgen.org/bridges-home/post-a-job&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
