<?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: Add JavaScript to fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/add-javascript-to-fields</link>
		<description>Gravity Support Forums Topic: Add JavaScript to fields</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:45: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/add-javascript-to-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Add JavaScript to fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-javascript-to-fields#post-169069</link>
			<pubDate>Tue, 12 Mar 2013 16:48:59 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">169069@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, but you can use a third party add-on like the following to have labels in fields: &#60;a href=&#34;http://wordpress.org/extend/plugins/gravity-forms-placeholders/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/gravity-forms-placeholders/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danromanchik on "Add JavaScript to fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-javascript-to-fields#post-169052</link>
			<pubDate>Tue, 12 Mar 2013 16:22:58 +0000</pubDate>
			<dc:creator>danromanchik</dc:creator>
			<guid isPermaLink="false">169052@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there any way to insert some JavaScript into a field's tag, i.e. something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;input id=&#38;quot;first_name&#38;quot; maxlength=&#38;quot;40&#38;quot; name=&#38;quot;first_name&#38;quot; type=&#38;quot;text&#38;quot; onblur=&#38;quot;if(this.value==&#38;#39;&#38;#39;) this.value=&#38;#39;Name&#38;#39;;&#38;quot; onfocus=&#38;quot;if(this.value==&#38;#39;Name&#38;#39;) this.value=&#38;#39;&#38;#39;;&#38;quot; value=&#38;quot;Name&#38;quot; /&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;As you can see, this puts the field name inside the text box and disappears when someone clicks into that box to enter text.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
