The URL to the post/page the user is viewing is already stored automatically with the entry data. It will appear when editing an entry in the right hand sidebar with a link to the post the form was submitted from.
If you want to store the Post Title with the entry detail as a field, you can do that too.
- Add a Hidden Field to your form
- Edit the Hidden Field and give it a label of Post Title or whatever you want
- Select the Advanced Tab
- In the Default Value use the "Insert Form Field" drop down to select the Embed Post Title merge tag
- Save your form
Now that hidden field would be populated with the Post Title it was submitted from.
Posted 14 years ago on Wednesday June 8, 2011 |
Permalink