- Posts: 13935
- Thank you received: 2551
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
send email based on answers
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
3 years 10 months ago #200049
by DenisChenu
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.
Replied by DenisChenu on topic send email based on answers
1. Previous lss is broken …
2. there are issue in quote system.
3. Sample light lss
ligtht : because else : you can open a support ticket …
2. there are issue in quote system.
3. Sample light lss
ligtht : because else : you can open a support ticket …
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.
- srn122
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 10 months ago #200053
by srn122
Replied by srn122 on topic send email based on answers
it should be ok though, some people here already helped me with it.
My limesurvey version is Version 3.6.1, I dont see any sample light lss ...
Maybe I dont understand what you re saying..
Anyway, the issue is with the basic admin notification email:
If I try to use an expression like:
if ("some answer conditions","send this message","else send this message")
In the messages to be sent, I need the text a little bit formatted, but once I try to use html tags, it sends only blank emails.
My limesurvey version is Version 3.6.1, I dont see any sample light lss ...
Maybe I dont understand what you re saying..
Anyway, the issue is with the basic admin notification email:
If I try to use an expression like:
if ("some answer conditions","send this message","else send this message")
In the messages to be sent, I need the text a little bit formatted, but once I try to use html tags, it sends only blank emails.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 10 months ago - 3 years 10 months ago #200055
by DenisChenu
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.
Replied by DenisChenu on topic send email based on answers
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.
Last edit: 3 years 10 months ago by DenisChenu.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 10 months ago - 3 years 10 months ago #200069
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic send email based on answers
If the image that Denis posted is your "html" code, then this is insane!
Why using a different span tag for each different style? I don't think it can work the way it is.
Also, HTML code within Expressions is always a little tricky.
Why using a different span tag for each different style? I don't think it can work the way it is.
Also, HTML code within Expressions is always a little tricky.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Last edit: 3 years 10 months ago by holch.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 10 months ago #200076
by DenisChenu
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.
Replied by DenisChenu on topic send email based on answers
I import attahched lss, and look at email …
Yes : it's insane
Seems to be a copy/paste from word.
Yes : it's insane
Seems to be a copy/paste from word.
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.
- srn122
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
3 years 9 months ago #200454
by srn122
Replied by srn122 on topic send email based on answers
yes, that was a mistake.
I ve tried many options, didnt work either.
I ve also posted a clean formatted html code, if you missed it. I did it according to w3schools html tags:
<html>
<head>
<title></title>
</head>
<body>{if(Q3=="A1" AND Q4=="A1" AND Q5=="A1" AND Q6=="A1","TEXTTEXTTEXT","TEXTTEXTTEXTT
<ul>
<li>OPTION1OPTION1.</li>
<li>OPTION2OPTION2</li>
<li>OPTION3OPTION3.</li>
</ul>
")}</body>
</html>
I ve tried many options, didnt work either.
I ve also posted a clean formatted html code, if you missed it. I did it according to w3schools html tags:
<html>
<head>
<title></title>
</head>
<body>{if(Q3=="A1" AND Q4=="A1" AND Q5=="A1" AND Q6=="A1","TEXTTEXTTEXT","TEXTTEXTTEXTT
<ul>
<li>OPTION1OPTION1.</li>
<li>OPTION2OPTION2</li>
<li>OPTION3OPTION3.</li>
</ul>
")}</body>
</html>
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12791
- Thank you received: 3941
3 years 9 months ago #200459
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic send email based on answers
The main thing to consider - if you have HTML styling inside your IF-statement - is to avoid nested quotes.
So this
{if(Q1==1,"span style="color=red">Yes", "No")} won't work.
You have to use single quotes and double quotes
{if(Q1==1,'span style="color=red">Yes', 'No')}.
And:
Sometimes the editor changes single quotes to double quotes. Take care.
Joffm
So this
{if(Q1==1,"span style="color=red">Yes", "No")} won't work.
You have to use single quotes and double quotes
{if(Q1==1,'span style="color=red">Yes', 'No')}.
And:
Sometimes the editor changes single quotes to double quotes. Take care.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 9 months ago #200464
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic send email based on answers
And I think you are not supposed to include the HTML header and body tags, because I think Limesurvey inserts this automatically.
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.