Okay
  Public Ticket #2712579
Filtering data
Closed

Comments

  • Matt Ling started the conversation

    Im using gravity forms and I have a column that populates a username. This column is populated by a hidden field based on the profile page the form  appears on.

    For instance when a visitor (John Doe) is on the profile page for Bobs Burgers the field populates as bobsburgers, if that same user then visits Pats Pizza profile the field populates as Pats Pizza.

    Then when Bobs Burgers is logged in, the results should only display results that are assigned to them, they should not see results for Pats Pizza.

    So basically, I need to filter a column for the currently logged in user, BUT these entries were not created by the currently logged in user, they are ABOUT the current user.

    I've been trying to use the column filtering feature but nothing I enter returns the correct results. I've tried %CURRENT_USER_LOGIN% and "current_user" but can't seem to get anything to work.


    Is this possible if so how would I accomplish this?

  •  2,496
    Aleksandar replied

    Hello Matt

    I see this is a duplicate ticket, so it will be closed. As soon as I reach your other ticket, I will post a response there.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables