Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

ADMINNAME and ADMINEMAIL as token fields

More
9 years 1 month ago #138355 by ChacoKevy
Or allow me to be able to pass attribute_1 and attribute_2 to those admin fields. Would love to be able to send a survey and have it appear it came from any number of senders.
The topic has been locked.
More
9 years 1 month ago #138356 by ChacoKevy
Also, I'm unclear on how to request a feature via Issue Tracker. As I try to follow the instructions, it seems I don't have category selection to make it a feature request instead of reporting a bug:
The topic has been locked.
More
9 years 1 month ago #138653 by holch
Top right corner in the dropdown you can choose bug reporting or feature request.

I don't think you can pass the admin name and admin email via attributes.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
6 years 10 months ago #175792 by ChacoKevy
Ok, my "workaround*" from 2 years ago isn't holding up anymore.
I'm on Version 2.72.3+171020 so I'm a little behind on updates since then.
Is it still the case that I can't have multiple admin names/email addresses per survey? If that's true, then I don't know of anything else than to create a duplicate of the existing survey where the only changes are to update those two admin fields. I'd rather not have to deal with the extra data tables.
Thanks, everyone!
*There was no workaround - convinced the customer they didn't need it.
The topic has been locked.
More
6 years 10 months ago #175801 by DenisChenu
www.limesurvey.org/manual/BeforeTokenEmail
Code:
$token = $this->getEvent()->get('token');
$from = $token['attribute_1']." <".$token['attribute_2'].">";
$this->getEvent()->set('from',$from);

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The topic has been locked.
Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose