PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Add field name parameter to gform_field_value_

  1. The gform_field_value_ filter is pretty frustrating, because all that gets passed to it is the value of the field. It would be much more helpful if the filter also passed the field name, the field id and the form object. That would make it much easier to manipulate the field using data encoded in the form, rather than having to hard-code it into a plugin.

    (As a work around, I'm aware you can use $wp_current_filter to get the field name, but on its own, that doesn't really help.)

    Posted 11 years ago on Tuesday February 5, 2013 | Permalink
  2. Thank you for your suggestions. I'll make sure the development team sees them.

    Posted 11 years ago on Wednesday February 6, 2013 | Permalink