Welcome to the LimeSurvey Community Forum

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

ADMINNAME and ADMINEMAIL as token fields

  • ChacoKevy
  • ChacoKevy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 9 months ago #138355 by ChacoKevy
ADMINNAME and ADMINEMAIL as token fields was created 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.
  • ChacoKevy
  • ChacoKevy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
7 years 9 months ago #138356 by ChacoKevy
Replied by ChacoKevy on topic ADMINNAME and ADMINEMAIL as token fields
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.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #138653 by holch
Replied by holch on topic ADMINNAME and ADMINEMAIL as token fields
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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • ChacoKevy
  • ChacoKevy's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 5 months ago #175792 by ChacoKevy
Replied by ChacoKevy on topic ADMINNAME and ADMINEMAIL as token fields
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.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 5 months ago #175801 by DenisChenu
Replied by DenisChenu on topic ADMINNAME and ADMINEMAIL as token fields
manual.limesurvey.org/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 service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose