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.

Filter fields from user notification when using {all_fields}

  1. Hello,

    I needed to remove the file upload fields from the {all_fields} variable, since the form I'm working has a huge number of fields, I opted for creating a filter. The downside is that the common.php file now contains 4 extra lines of code that will probably conflict on the next Gravity Forms version.

    Does this makes sense? Is there a better way? Do you think it could be a good idea to add this kind of hook/filter?

    Here's the modified function in common.php http://www.pastie.org/2500886

    Thanks!,
    Favio

    Posted 13 years ago on Thursday September 8, 2011 | Permalink
  2. This is a great idea, thanks for sharing the code. Instead of having to manually put in all of the fields to only remove a few, to instead filter the results.

    Support, is it possible for this sort of filter to be used via functions.php to keep it update-ready?

    Posted 12 years ago on Wednesday January 4, 2012 | Permalink

This topic has been resolved and has been closed to new replies.