<?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: Blank values in $field array when using gforms_field_content filter</title>
		<link>https://legacy.forums.gravityhelp.com/topic/blank-values-in-field-array-when-using-gforms_field_content-filter</link>
		<description>Gravity Support Forums Topic: Blank values in $field array when using gforms_field_content filter</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:04:47 +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/blank-values-in-field-array-when-using-gforms_field_content-filter" rel="self" type="application/rss+xml" />

		<item>
			<title>philipjohn on "Blank values in $field array when using gforms_field_content filter"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/blank-values-in-field-array-when-using-gforms_field_content-filter#post-50637</link>
			<pubDate>Mon, 27 Feb 2012 06:19:40 +0000</pubDate>
			<dc:creator>philipjohn</dc:creator>
			<guid isPermaLink="false">50637@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hiya,&#60;/p&#62;
&#60;p&#62;I'm attempting to change the HTML output of a form by using the gforms_field_content filter.&#60;/p&#62;
&#60;p&#62;However, I cannot find the name and ID values I need to populate my custom HTML.&#60;/p&#62;
&#60;p&#62;This is what the var_dump($field) gives me in my filter function:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;array
  &#38;#39;adminLabel&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;adminOnly&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;allowsPrepopulate&#38;#39; =&#38;gt; boolean false
  &#38;#39;defaultValue&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;description&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;content&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;cssClass&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;errorMessage&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;id&#38;#39; =&#38;gt; int 1
  &#38;#39;inputName&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;isRequired&#38;#39; =&#38;gt; boolean true
  &#38;#39;label&#38;#39; =&#38;gt; string &#38;#39;Dear Sibs&#38;#39; (length=9)
  &#38;#39;noDuplicates&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;size&#38;#39; =&#38;gt; string &#38;#39;medium&#38;#39; (length=6)
  &#38;#39;type&#38;#39; =&#38;gt; string &#38;#39;post_content&#38;#39; (length=12)
  &#38;#39;postCustomFieldName&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;displayAllCategories&#38;#39; =&#38;gt; boolean false
  &#38;#39;displayCaption&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;displayDescription&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;displayTitle&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;inputType&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;rangeMin&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;rangeMax&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;calendarIconType&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;calendarIconUrl&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;dateType&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;dateFormat&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;phoneFormat&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;addressType&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;defaultCountry&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;defaultProvince&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;defaultState&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;hideAddress2&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;hideCountry&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;hideState&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;inputs&#38;#39; =&#38;gt; null
  &#38;#39;nameFormat&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;allowedExtensions&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;captchaType&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;page_number&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;captchaTheme&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;simpleCaptchaSize&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;simpleCaptchaFontColor&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;simpleCaptchaBackgroundColor&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;failed_validation&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;productField&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;enablePasswordInput&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;maxLength&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;enablePrice&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;basePrice&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;disableQuantity&#38;#39; =&#38;gt; boolean false
  &#38;#39;inputMask&#38;#39; =&#38;gt; boolean false
  &#38;#39;inputMaskValue&#38;#39; =&#38;gt; string &#38;#39;&#38;#39; (length=0)
  &#38;#39;formId&#38;#39; =&#38;gt; int 2
  &#38;#39;pageNumber&#38;#39; =&#38;gt; int 1
  &#38;#39;descriptionPlacement&#38;#39; =&#38;gt; string &#38;#39;below&#38;#39; (length=5)
  &#38;#39;conditionalLogicFields&#38;#39; =&#38;gt;
    array
      empty&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;How do I get those values out?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Phil
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
