<?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: Gform field css class - no output</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform-field-css-class-no-output</link>
		<description>Gravity Support Forums Topic: Gform field css class - no output</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 18:46:43 +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/gform-field-css-class-no-output" rel="self" type="application/rss+xml" />

		<item>
			<title>avianex on "Gform field css class - no output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform-field-css-class-no-output#post-329098</link>
			<pubDate>Mon, 17 Jun 2013 17:24:35 +0000</pubDate>
			<dc:creator>avianex</dc:creator>
			<guid isPermaLink="false">329098@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Additionally I´m posting the original output from the server (it´s a standard form, nothing customized):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;form id=&#38;quot;gform_1&#38;quot; action=&#38;quot;/wordpress/kontakt/#gf_1&#38;quot; target=&#38;quot;gform_ajax_frame_1&#38;quot; enctype=&#38;quot;multipart/form-data&#38;quot; method=&#38;quot;post&#38;quot;&#38;gt;
	&#38;lt;div class=&#38;quot;gform_body&#38;quot;&#38;gt;
		&#38;lt;ul id=&#38;quot;gform_fields_1&#38;quot; class=&#38;quot;gform_fields top_label description_below&#38;quot;&#38;gt;
			&#38;lt;li id=&#38;quot;field_1_1&#38;quot; class=&#38;quot;gfield&#38;quot;&#38;gt;
			&#38;lt;label class=&#38;quot;gfield_label&#38;quot; for=&#38;quot;input_1_1_3&#38;quot;&#38;gt;Name&#38;lt;/label&#38;gt;
			&#38;lt;div id=&#38;quot;input_1_1&#38;quot; class=&#38;quot;ginput_complex ginput_container&#38;quot;&#38;gt;
			&#38;lt;span id=&#38;quot;input_1_1_3_container&#38;quot; class=&#38;quot;ginput_left&#38;quot;&#38;gt;
			&#38;lt;input id=&#38;quot;input_1_1_3&#38;quot; type=&#38;quot;text&#38;quot; tabindex=&#38;quot;1&#38;quot; value=&#38;quot;&#38;quot; name=&#38;quot;input_1.3&#38;quot;&#38;gt;
			&#38;lt;label for=&#38;quot;input_1_1_3&#38;quot;&#38;gt;Vorname&#38;lt;/label&#38;gt;
			&#38;lt;/span&#38;gt;
			&#38;lt;span id=&#38;quot;input_1_1_6_container&#38;quot; class=&#38;quot;ginput_right&#38;quot;&#38;gt;
			&#38;lt;div class=&#38;quot;gf_clear gf_clear_complex&#38;quot;&#38;gt;&#38;lt;/div&#38;gt;
			&#38;lt;/div&#38;gt;
			&#38;lt;/li&#38;gt;
			&#38;lt;li id=&#38;quot;field_1_2&#38;quot; class=&#38;quot;gfield&#38;quot; style=&#38;quot;display:none;&#38;quot;&#38;gt;
			&#38;lt;li id=&#38;quot;field_1_3&#38;quot; class=&#38;quot;gfield&#38;quot;&#38;gt;
			&#38;lt;li id=&#38;quot;field_1_4&#38;quot; class=&#38;quot;gfield gfield_contains_required&#38;quot; style=&#38;quot;display:none;&#38;quot;&#38;gt;
		&#38;lt;/ul&#38;gt;
	&#38;lt;/div&#38;gt;
	&#38;lt;div class=&#38;quot;gform_footer top_label&#38;quot;&#38;gt;
&#38;lt;/form&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>avianex on "Gform field css class - no output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform-field-css-class-no-output#post-329095</link>
			<pubDate>Mon, 17 Jun 2013 17:14:39 +0000</pubDate>
			<dc:creator>avianex</dc:creator>
			<guid isPermaLink="false">329095@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for e hint - yes I did, no result. I also tried to specifie the exact form ...&#60;br /&#62;
I don´t have a caching plugin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Gform field css class - no output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform-field-css-class-no-output#post-328595</link>
			<pubDate>Mon, 17 Jun 2013 09:12:43 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">328595@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You added this to your theme's functions.php file? If you are using a caching plugin, you'll need to clear your cache.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>avianex on "Gform field css class - no output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform-field-css-class-no-output#post-326893</link>
			<pubDate>Sun, 16 Jun 2013 11:47:47 +0000</pubDate>
			<dc:creator>avianex</dc:creator>
			<guid isPermaLink="false">326893@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi!&#60;/p&#62;
&#60;p&#62;Im trying to add custom CSS clases to my input fields.&#60;/p&#62;
&#60;p&#62;I started to test with the example&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
add_action(&#38;quot;gform_field_css_class&#38;quot;, &#38;quot;custom_class&#38;quot;, 10, 3);
function custom_class($classes, $field, $form){
    if($field[&#38;quot;type&#38;quot;] == &#38;quot;text&#38;quot;){
        $classes .= &#38;quot; custom_textfield_class&#38;quot;;
    }
    return $classes;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Unfortunately I do not get any outpit in the text inputs.&#60;br /&#62;
(I don´t have a live demo, it´s still localhost)&#60;/p&#62;
&#60;p&#62;Are there any more requirements to use this filter?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
