<?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: Best Way to Use Placeholder Text?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text</link>
		<description>Gravity Support Forums Topic: Best Way to Use Placeholder Text?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:36:50 +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/best-way-to-use-placeholder-text" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-55274</link>
			<pubDate>Sat, 14 Apr 2012 14:02:53 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">55274@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Right on, glad you got it working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jonathan on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-55187</link>
			<pubDate>Fri, 13 Apr 2012 11:01:18 +0000</pubDate>
			<dc:creator>Jonathan</dc:creator>
			<guid isPermaLink="false">55187@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks a ton Alex.  I can't believe I didn't think about turning off AJAX.  Once I did that it worked perfectly.  I appreciate you guys working with me so much on this one.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-55184</link>
			<pubDate>Fri, 13 Apr 2012 10:29:31 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">55184@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is your form and AJAX form? If not, gform_enqueue_scripts should fire when the form is being loaded with a validation error. Can you post your custom code so that I can take look?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jonathan on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-55143</link>
			<pubDate>Thu, 12 Apr 2012 18:34:37 +0000</pubDate>
			<dc:creator>Jonathan</dc:creator>
			<guid isPermaLink="false">55143@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hmm, the problem is that I need to run PHP since the placeholder value is kept in a field in Gravity Forms.  Any other suggestions?&#60;/p&#62;
&#60;p&#62;Thanks for all the help guys.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-55036</link>
			<pubDate>Thu, 12 Apr 2012 11:18:45 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">55036@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The gform_post_render javascript hook will fire every time a form gets loaded. That might be what you are looking for.&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_render&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jonathan on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-54931</link>
			<pubDate>Wed, 11 Apr 2012 14:39:08 +0000</pubDate>
			<dc:creator>Jonathan</dc:creator>
			<guid isPermaLink="false">54931@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The issue I see with that approach is that required fields are submitted even if no text has been entered.  &#60;/p&#62;
&#60;p&#62;I know you can write custom php to make it not validate, but we would have to do that individually for each form, which would probably get very time consuming.&#60;/p&#62;
&#60;p&#62;When the form is recreated after validation, is there an action besides gform_enqueue_scripts that runs so we can add our custom javacript?&#60;/p&#62;
&#60;p&#62;Thanks again for the help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-54924</link>
			<pubDate>Wed, 11 Apr 2012 13:18:46 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">54924@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Im not familiar with that approach you are trying, and it seems fairly involved because it looks like it's trying to write in the placeholder attribute I'd imagine. The link I gave you above should be much simpler.&#60;/p&#62;
&#60;p&#62;Since there isn't currently a way to add &#34;placeholder&#34; text, you could hide the existing field labels with a CSS rule, then you can use the method in the link I supplied (using default values) to emulate placeholder text inside the inputs, which clears onclick.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jonathan on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-54922</link>
			<pubDate>Wed, 11 Apr 2012 13:10:56 +0000</pubDate>
			<dc:creator>Jonathan</dc:creator>
			<guid isPermaLink="false">54922@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks a lot for your feedback.  I am trying to use the script listed at &#60;a href=&#34;http://askwpgirl.com/gravity-forms-placeholder-text-works-with-ie/&#34; rel=&#34;nofollow&#34;&#62;http://askwpgirl.com/gravity-forms-placeholder-text-works-with-ie/&#60;/a&#62; to add placeholder values, but I am running into a small issue.&#60;/p&#62;
&#60;p&#62;I am using the gform_enqueue_scripts action to call the function and run my JavaScript.  This works when the form first loads, but if there are any validation errors it doesn't seem to run again.  Is there a different hook I can use that would work?&#60;/p&#62;
&#60;p&#62;Thanks a lot for your help.&#60;/p&#62;
&#60;p&#62;Jonathan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-54874</link>
			<pubDate>Wed, 11 Apr 2012 10:13:33 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">54874@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sometimes, people want to place their labels within their inputs, either by using the placeholder text as you've mentioned and then hiding the label via CSS, or by actually placing the label itself within the input (which can be done via jQuery).&#60;/p&#62;
&#60;p&#62;I think a common rule/considertion of label usage is most dependent upon the device that is being used. But here is a good write up by Luke W on the topic, as well as links in the article about label placement:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.lukew.com/ff/entry.asp?687&#34; rel=&#34;nofollow&#34;&#62;http://www.lukew.com/ff/entry.asp?687&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;For clearing placeholder text via jQuery you can see this here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/clearing-default-form-field-values-with-jquery/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jonathan on "Best Way to Use Placeholder Text?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/best-way-to-use-placeholder-text#post-54822</link>
			<pubDate>Tue, 10 Apr 2012 18:16:22 +0000</pubDate>
			<dc:creator>Jonathan</dc:creator>
			<guid isPermaLink="false">54822@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What is the best way to use placeholder text with Gravity Forms instead of using labels?  Or, is there a significant usability reason to always include labels with forms?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
