Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Send answers by mail to the user

Send answers by mail to the user 5 months 3 weeks ago #108022

  • tennob
  • tennob's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Hi everyone,

I'm trying to send back to the users some of the answers he filled.

Then I've 2 requests.

1. For example can I send in the confirmation e-mail something like " you answered to the question {Qdispo} xxxx. thank you".
{Qdispo} is a multiple choice question

2. Can I do it if I'm using Quota and evaluation? That would be best for me.
For example, If the user answers SQ001 to {Qdispo} he has 1 point, if it's SQ002 he has 2 points and then I can run an evaluation.
Can I send to the user by e-mail the result of the evaluation?


Thank you very much,

regards
The administrator has disabled public write access.

Send answers by mail to the user 5 months 3 weeks ago #108034

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
You can use Expression Manager to calculate "scores" and pipe text into the emails.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Send answers by mail to the user 5 months 3 weeks ago #108044

  • tennob
  • tennob's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Thanks tpartner !

Ok I get it for "socres" but I don't know how to send it by mail, taht's the point :)
The administrator has disabled public write access.

Send answers by mail to the user 5 months 3 weeks ago #108046

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Send answers by mail to the user 5 months 3 weeks ago #108120

  • tennob
  • tennob's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Hi, I'm back ;)

I have some issues.. yet not resolved!

1. For example, in the Qdispo question (radio buttons) I test values and try to give back a message related to the value.

For example if i click on the value "8" i try to get back the message "ok!"

Then I created a new group, and a new equation (called "SCORE").

Then my "SCORE" code is the following :

{if (Qdispo =8,'ok!')}
As I saw in the LS manual. I also tried with Qdispo ==8 or Qdispo > 1

that always give me the code back without analysis of it.
Tried also others codes, like strlen, and it worked.

I'm a bit lost ..

2.
Thank you for your help, that's so important for all of us.
The administrator has disabled public write access.

Send answers by mail to the user 5 months 3 weeks ago #108123

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
Assuming the question code is "Qdispo " and the answer code is 8, the equation should be:

{if(Qdispo == 8, 'ok!', '')}
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Last Edit: 5 months 3 weeks ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: tennob

Send answers by mail to the user 5 months 2 weeks ago #108155

  • tennob
  • tennob's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Thanks,
that works perfectly.

My last wish would be formatting text.
For example :
{if(Qdispo ==8,'I'd like to format this text
with a return char for example','')}

do you think it would be possible?
If not, how can I make my text formatted?

many thanks again
Last Edit: 5 months 2 weeks ago by tennob.
The administrator has disabled public write access.

Send answers by mail to the user 5 months 2 weeks ago #108177

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4281
  • Thank you received: 807
  • Karma: 370
I'm sorry, I don't understand the question.

How do you want to format the text.


.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.

Send answers by mail to the user 5 months 2 weeks ago #108190

  • tennob
  • tennob's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Sorry that wasn't that clear.

Actually and finally I want to use this trick to send e-mail confirmation. I want to send in my mail confirmation postal adresses.

If my text is formatted like this : "Mr. John Peter 2 farm street Wisconsin Tel : xx.xx.xx email : This email address is being protected from spambots. You need JavaScript enabled to view it."
That's not very exciting to be read ! And sadly, that's the only way I can pipe it into the question or the confirmation e-mail.

I want to format the text with "return char" for example :
" Mr. John Peter
2 farm street
Wisconsin
Tel : xx.xx.xx
email : This email address is being protected from spambots. You need JavaScript enabled to view it. "

But how can I put that information (return char) in the code we saw before? I tried to make a "classical" return with "enter key" but the text is still plane and not formatted.

I don't really know what kind of programming language is written, is that JSON of JS? I think there are options to indicate LS that the text to pipe if the condition is there has to be shown with returns.

Hope that i was clearer than before !

many thanks,
The administrator has disabled public write access.

Send answers by mail to the user 5 months 2 weeks ago #108331

  • tennob
  • tennob's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 19
  • Karma: 0
Hi,

after a few days trying to get rid of this issue i'm not a dev :(

Well, first : is my question understandable ? actually I just want to display text not in a single line

Thank you so much
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.267 seconds
Donation Image