<?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 Tag: placeholder - Recent Posts</title>
		<link>https://legacy.forums.gravityhelp.com/tags/placeholder</link>
		<description>Gravity Support Forums Tag: placeholder - Recent Posts</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:36:17 +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/tags/placeholder" rel="self" type="application/rss+xml" />

		<item>
			<title>Richard Vav on "Add HTML5 placeholder without losing Field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-html5-placeholder-without-losing-field-label#post-375977</link>
			<pubDate>Thu, 11 Jul 2013 16:00:42 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">375977@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@pyroboy024 if you fill in our new &#60;a href=&#34;http://www.gravityhelp.com/request-support/&#34; rel=&#34;nofollow&#34;&#62;request support form&#60;/a&#62; we'll see what we can do about getting that function working for you.&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pyroboy024 on "Add HTML5 placeholder without losing Field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-html5-placeholder-without-losing-field-label#post-375648</link>
			<pubDate>Thu, 11 Jul 2013 11:02:17 +0000</pubDate>
			<dc:creator>pyroboy024</dc:creator>
			<guid isPermaLink="false">375648@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ive tried add several different flavors of that code above and every time it breaks my functions.php im stuck with using the field plugin but how can i get around the asterisk for required fields?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Add HTML5 placeholder without losing Field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-html5-placeholder-without-losing-field-label#post-375278</link>
			<pubDate>Thu, 11 Jul 2013 06:20:43 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">375278@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;One thing to keep in mind if using the original is that in the code I pasted above Lines 30 onwards have been updated recently by Alex our lead developer to improve compatibility with ajax enabled forms.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jb510 on "Add HTML5 placeholder without losing Field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-html5-placeholder-without-losing-field-label#post-375266</link>
			<pubDate>Thu, 11 Jul 2013 06:14:03 +0000</pubDate>
			<dc:creator>jb510</dc:creator>
			<guid isPermaLink="false">375266@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Richard.  FYI, the source of that code is &#60;a href=&#34;http://www.wpbeginner.com/wp-tutorials/how-to-add-placeholder-text-in-gravity-forms/&#34; rel=&#34;nofollow&#34;&#62;http://www.wpbeginner.com/wp-tutorials/how-to-add-placeholder-text-in-gravity-forms/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62; I ended up finding and using it, worked fine (so far).  Baffles me this isn't in BG core after all this time.&#60;/p&#62;
&#60;p&#62;I hadn't heard of GravityPerks before, wish I had!  It would have saved me hacking 4 things missing from GF onto this one site today (including the placeholders).  Next time...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "Add HTML5 placeholder without losing Field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-html5-placeholder-without-losing-field-label#post-375084</link>
			<pubDate>Thu, 11 Jul 2013 04:22:10 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">375084@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I agree, the HTML5 placeholder was not designed to replace to field label, rather to be used in conjunction with it.  &#60;/p&#62;
&#60;p&#62;I am currently only aware of one plugin which adds placeholders the correct way and that is &#60;a href=&#34;http://gravitywiz.com/gravity-perks/&#34; rel=&#34;nofollow&#34;&#62;Gravity Perks&#60;/a&#62;, it is a premium plugin so if that's not for you there is an alternative method which involves adding some code to your theme's functions file, however it doesn't add placeholders to the same number of field types that Gravity Perks does.&#60;/p&#62;
&#60;p&#62;It was posted in &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/gform_enqueue_scripts-injects-script-into-iframe-on-validation-error?message=closed&#34; rel=&#34;nofollow&#34;&#62;this topic&#60;/a&#62; but here's the full code, what it does is add a placeholder option to the field settings panel in the form editor.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_field_standard_settings&#38;quot;, &#38;quot;jtd_gform_placeholders&#38;quot;, 10, 2);
function jtd_gform_placeholders($position, $form_id){
  // Create settings on position 25 (right after Field Label)
  if ( $position == 25 ) {
  ?&#38;gt;
    &#38;lt;li class=&#38;quot;admin_label_setting field_setting&#38;quot; style=&#38;quot;display: list-item; &#38;quot;&#38;gt;
      &#38;lt;label for=&#38;quot;field_placeholder&#38;quot;&#38;gt;Placeholder Text
        &#38;lt;!-- Tooltip to help users understand what this field does --&#38;gt;
        &#38;lt;a href=&#38;quot;javascript:void(0);&#38;quot; class=&#38;quot;tooltip tooltip_form_field_placeholder&#38;quot; tooltip=&#38;quot;&#38;lt;h6&#38;gt;Placeholder&#38;lt;/h6&#38;gt;Enter the placeholder/default text for this field.&#38;quot;&#38;gt;(?)&#38;lt;/a&#38;gt;
      &#38;lt;/label&#38;gt;
      &#38;lt;input type=&#38;quot;text&#38;quot; id=&#38;quot;field_placeholder&#38;quot; class=&#38;quot;fieldwidth-3&#38;quot; size=&#38;quot;35&#38;quot; onkeyup=&#38;quot;SetFieldProperty(&#38;#39;placeholder&#38;#39;, this.value);&#38;quot;&#38;gt;
    &#38;lt;/li&#38;gt;
  &#38;lt;?php
  }
}

/* Now we execute some javascript technicalities for the field to load correctly */
add_action(&#38;quot;gform_editor_js&#38;quot;, &#38;quot;jtd_gform_editor_js&#38;quot;);
function jtd_gform_editor_js(){
?&#38;gt;
  &#38;lt;script&#38;gt;
    //binding to the load field settings event to initialize the checkbox
    jQuery(document).bind(&#38;quot;gform_load_field_settings&#38;quot;, function(event, field, form){
      jQuery(&#38;quot;#field_placeholder&#38;quot;).val(field[&#38;quot;placeholder&#38;quot;]);
    });
  &#38;lt;/script&#38;gt;
&#38;lt;?php
}

/* We use jQuery to read the placeholder value and inject it to its field */
add_action(&#38;#39;gform_pre_render&#38;#39;,&#38;quot;jtd_gform_init_scripts&#38;quot;, 10, 2);
function jtd_gform_init_scripts( $form ) {
    $script = &#38;quot;&#38;quot;;
    /* Go through each one of the form fields */
    foreach($form[&#38;#39;fields&#38;#39;] as $i=&#38;gt;$field) {
        /* Check if the field has an assigned placeholder */
        if(isset($field[&#38;#39;placeholder&#38;#39;]) &#38;amp;&#38;amp; !empty($field[&#38;#39;placeholder&#38;#39;])){
          /* If a placeholder text exists, inject it as a new property to the field using jQuery */
          $script .= &#38;quot;jQuery(&#38;#39;#input_{$form[&#38;#39;id&#38;#39;]}_{$field[&#38;#39;id&#38;#39;]}&#38;#39;).attr(&#38;#39;placeholder&#38;#39;,&#38;#39;{$field[&#38;#39;placeholder&#38;#39;]}&#38;#39;);&#38;quot;;
        }
    }
    GFFormDisplay::add_init_script($form[&#38;quot;id&#38;quot;], &#38;#39;jtd_placeholder&#38;#39;, GFFormDisplay::ON_PAGE_RENDER, $script);
    return $form;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>jb510 on "Add HTML5 placeholder without losing Field label"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-html5-placeholder-without-losing-field-label#post-374832</link>
			<pubDate>Thu, 11 Jul 2013 01:41:17 +0000</pubDate>
			<dc:creator>jb510</dc:creator>
			<guid isPermaLink="false">374832@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How can I add an HTML5 placeholder, that doesn't use the field label the way the 3rd party plugins do.&#60;/p&#62;
&#60;p&#62;The field label and the placeholder are not the same thing and using one for the other is a poor hack.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "How to absolutely position text fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-absolutely-position-text-fields#post-342252</link>
			<pubDate>Mon, 24 Jun 2013 11:56:18 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">342252@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're welcome
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whitelotus on "How to absolutely position text fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-absolutely-position-text-fields#post-340594</link>
			<pubDate>Sun, 23 Jun 2013 18:05:22 +0000</pubDate>
			<dc:creator>whitelotus</dc:creator>
			<guid isPermaLink="false">340594@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome, thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Richard Vav on "How to absolutely position text fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-absolutely-position-text-fields#post-340294</link>
			<pubDate>Sun, 23 Jun 2013 11:44:29 +0000</pubDate>
			<dc:creator>Richard Vav</dc:creator>
			<guid isPermaLink="false">340294@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use a placeholder plugin to replace the standard labels with placeholders that are inside the fields, here are links to two plugins over on the WordPress plugin repository&#60;/p&#62;
&#60;p&#62;&#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;br /&#62;
&#60;a href=&#34;http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/gravity-forms-auto-placeholders/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Richard
&#60;/p&#62;</description>
		</item>
		<item>
			<title>whitelotus on "How to absolutely position text fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-absolutely-position-text-fields#post-339059</link>
			<pubDate>Sat, 22 Jun 2013 15:00:55 +0000</pubDate>
			<dc:creator>whitelotus</dc:creator>
			<guid isPermaLink="false">339059@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How would I go about creating something like this?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://cdn.whitelotusclinic.ca/wp-content/uploads/2013/06/Newsletter.png&#34; rel=&#34;nofollow&#34;&#62;image&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I really want to like this product but I'm not really sure why layout is so complicated.  Seems like there's a lot of unnecessary markup that's preventing the layout pictured in the link above.  There has to be a better way then what I'm currently trying to do with css and absolute positioning on the fields.&#60;/p&#62;
&#60;p&#62;There are no trials for this service and I'm finding this is far more complicated than had I written this form myself, including the ajax / backend, etc?  Sorry to be so negative, I'm just a little surprised and frustrated by the lack of info or examples for this kind of thing though maybe I just haven't found it yet.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
