Passing data from detail view to Contact Form's topic textbox?

Topics: Troubleshooting
Aug 29, 2013 at 5:58 AM
Hey guys, I have created a simple contact form using 'Forms' and was wondering how I could/should go about adding links to my taxonomy detail/item pages to my contact form that will populate one of the contact forms textboxes with detail specifics relating to the current details view when pressed? I hope that's not too confusing...any help will be greatly appreciated, cheers Gil
Developer
Aug 30, 2013 at 2:13 AM
Edited Aug 30, 2013 at 2:14 AM
What I sometimes do is have the links pointing to my custom forms include querystring parameters that match the field names of the custom form.
Then I override a couple of field editor views to read in a value from the querystring based on its name (e.g. "Topic").
I then use that value to pre-fill the form field (whatever that may be, e.g. textbox, select list, radio, check).
Aug 30, 2013 at 6:07 AM
Great Stuff sfmskywalker, that's exactly what I did and it works a treat - thanks very much ;)