Hi, i am developing a site that is selling houses.
Each post have only one house, each of them have the same button "Contact an Agent" and each post have one tag with a number id and the name of the post itself, such as:
Post 1
Name post title: House in Oxfordshire.
Tag post: ID Numer #12345 - House in Oxfordshire.
Button: "Contact An Agent"
Post2
Name post title: Mansion in Los Angeles.
Tag post: ID Numer #99999 - Mansion in Los Angeles.
Button: "Contact An Agent"
When a client click on the button "Contact an Agent", it will appear an email form of gravity form, where the subject of the email will be dinamically populated from the tag of the post itself, and it can be different depend on which post they are.
I read the documentation, i did all the passage but my results is that the post tags are outside of the fields of the email, not inside it. Here the images:
Function.php Code:
http://s7.postimage.org/rh7nee9yz/function_php.jpg
Backend Panel:
http://s18.postimage.org/o0su51rmx/Panel_Gravity_Form.jpg
Final Result:
http://s16.postimage.org/687bl5xat/Post.jpg
How i solve that?