How can I display Gravity Forms enquiry history based on the email address
of the currently logged in user?
We have customers who will be using Gravity Forms to make enquiries.
Customers can also log into the website to update their name and other
details. We have built a custom template where they can update these
details quite easily.
But what we'd also like on this page (for the user logged in) is a history
of all enquiries the user sent us (enquiries that were sent using gravity
forms).
I am guessing this would be done by querying the database for any gravity
form entries that match the email address of the user currently logged in.
We would then simply display that information on the page for them.
So essentially, the customer will be able to see a list of all enquiries
they have sent us in the past.
If anyone could demonstrate how we could achieve this with PHP that would
be awesome.
Thanks in advance.
No comments:
Post a Comment