I understand how to use the short codes for Dynamic Population but a little confused with URL Query String version. I have a site with many cities, each city has contact form for a different person. I want to use the same form for all pages.
The short code version works AMAZING!! Heres the problem. People visit my directory site, fill out a form, it creates a post with their info, I need that post form to know to contact that person but gravity forms won't allow a short code within a short code :(
[gravityform id="4" field_values="city=[types field="city-state"]"]
--- will look like this ---
[gravityform id="4" field_values="city=sandiego"]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
So I'm thinking maybe the Query String could work?
1 ) How does the url get displayed? In the actually address bar? On the page somewhere ? or?
- So heres the example GF http://siteurl.com/form-url/?your_parameter=value
2 ) Is it possible to not alter the URL and have the form on that page take an already existing word out of my untouched url? - Example: http://Service.com/San-Diego
- If the url has SAN-DIEGO send the email to this person? I know how to do the actual emailing redirecting part. Just using it as an example.
3 ) Going back to 1 ) for a second. If the ?your_parameter=value does have to appear in the browsers address bar, what happens when someone finds my page on google? How will that string appear in the link? Or do i have to add ?your_parameter=value in the permalink when editing the post?
4 ) If i do have to add ?your_parameter=value to the posts permalink does it affect SEO?
- My URLs are very clean for SEO reasons. EXAMPLE: Domain.com/service/city
- I feel like this looks awful. EXAMPLE: Domain.com/service/city?your_parameter=value
Pardon all the questions, trying to learn something new :)
And thanks to everyone at Gravity Forms for making the hands down, best plugin by far, and I'm not just talking about contact form plugins. This plugin is so much fun and saves me SO much time.