Share » Forums » Setup & design » Select recipient for feedback form

Select recipient for feedback form

Select recipient for feedback form

Thursday 06 January 2011 2:41:15 am - 2 replies

Author Message

Bertrand Dunogier

Friday 07 January 2011 3:17:20 am

You can make the selected recipient a collection attribute, and make sure some kind of ID for the selected recipient is sent along with the collected data. In the feedback template, you can read the variable, fetch the associated email address, and set it as the recipient like you demonstrated with your code.

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

paul bolger

Saturday 08 January 2011 12:51:42 pm

Thanks. It's the first part I'm unclear about. How would I go about making the selection a collection attribute? I took a look at using object relations to select an object but that datatype doesn't seem to work as an information collector.

regards

Pb

Paul Bolger

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu