Filter Pod based on Gravity Forms Submission
-
What I’m trying to achieve: I have a Gravity Form from which the user can select an age range. Upon submission the form redirects the user to the results page.
On this page I’m trying to get my Services to display based on the age range selected.I currently have this Pods query:
[pods name=”service” field=”service-name” where=”ages.meta_value = ’18-24′”]But obviously this is hard coded to the age range “18-24”
What I want to happen is for the “18-24″ to be a variable that is populated by the gravity form. Something like:
[pods name=”service” field=”service-name” where=”ages.meta_value = ‘age-range'”]But I have no idea how to do that or if it’s even possible.
I do have another gravity form on the results page that is dynamically populated with the age range from the previous form just to make sure the value is being passed over correctly.
Hope that’s clear, this has been doing my head in so any help would be greatly appreciated.
NOTE: website isn’t launched, login with these credentials to see page:
username: Test
password: TestThe page I need help with: [log in to see the link]
- The topic ‘Filter Pod based on Gravity Forms Submission’ is closed to new replies.