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.

gform_field_input Hook and Changing Values/Type

  1. So I'm using gform_field_input and targeting the 'State' field of the complex 'address' box. It seems to overwrite the whole lot when I provide a new value or type via the add_action('gform_field_input', 'functionnamehere', 10,5) action.

    Is there a away I can drill down into those input types?

    Posted 12 years ago on Monday August 15, 2011 | Permalink
  2. If you only want to apply whatever you are doing with gform_field_input you would have to have an if statement in your custom code so it only applies to specific fields.

    Posted 12 years ago on Monday August 15, 2011 | Permalink