• Hello, so in my database I am saving the users id who submitted the data and basically I want to use the ‘id’ to get each piece of data submitted by that particular user in the front end.

    I know you can use the [acf7db form_id=”1″ search=’[email protected]’] shortcode to view that data displayed by email, but I am not storing the users email, in my form I am storing another users email, so using this shortcode will return the wrong data.

    My database field is called ‘user-id’. So I only want to get data if the ‘user-id’ matches the current logged in user, ‘1’ for example.

    Can this be done? I am familiar with code, so if anyone has any examples please let me know.

  • The topic ‘How to display data by field name’ is closed to new replies.