Okay
  Public Ticket #2772223
Gravity forms integration question
Closed

Comments

  • Carlen started the conversation

    I would like to use the gravity forms integration to show a table of entries. 

    Is it possible to filter by user meta? 

    Essentially every user has a unique number stored as user meta. I want to show them every entry that references that number. 

    I am not using user id as some users have the same number. 

  • [deleted] replied

    Hi Carlen

    Thank you for reaching out to us.

    Tables created with Gravity Forms integration can display data related to the user who entered that data using the user's ID. Each entry in Gravity Forms is stored in the database, so enabling "Filter by user" does this automatically.

    I hope this helps, do let us know if you need any further assistance.

  • Carlen replied

    I am setting up “teams,” and wanting each team to see the data related to the team. The team is in the usermeta as a #. This was why I was wondering if you could filter by usermeta instead of user ID. Does that make sense? 


    Essentially I am working to show everyone who fills out a form and references that team to any member of the team when they log in. 

  • [deleted] replied

    Hi Carlen

    Unfortunately, the Gravity Forms integration is limited, and not all options that are available in manual or SQL query-based tables are included. 

    The fields the plugin sees from the Gravity Form are the only fields you can add to create the table, and tables created from a Gravity Form can't be combined with other table types, so you wouldn't be able to include usermeta. 

    The only way to do this is to create your own custom SQL query-based table that would pull all the data from the form, and then join the wp_usermeta table to add a condition. 

    This is custom work, and unfortunately is not included in the provided support for the plugin.