-
- 46 Posts
MODX Revolution 2.2.8-pl (traditional)
FormIt 2.2.0
Working on a 'Tell a Friend' form and want to grab the current page the viewer is sitting on, save it in a placeholder and have it available to include in the email being sent to the friend. The current process I'm using links (on a button press) to a resource with the necessary FormIt configuration and template calls to fill out the form, then I want to include the page link in the out-going email. The site uses friendly urls so I'm thinking that writing a prehook to set a placeholder value to the page alias may be the way to go.
Does this make sense or is there a better option?