- Posts: 967
- Thank you received: 220
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
issue with admin notifications - message too long?
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
7 years 7 months ago - 7 years 7 months ago #141428
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic issue with admin notifications - message too long?
Hi Jelo, thanks for your respons. I am trying to send out a confirmation mail with a conditional text part at the end:
- - - -
- - - -
In HTML mail the the complete expression is sent out, not the calculated result of it. I tried 2.06, 2.50 and I am wondering what I am doing wrong.
Using inline editor, popup editor, all same result: expression is in the mail. When I switch to non-HTML mails, same result. Logged in as super admin.
- - - -
Code:
Confirmation mail text (in HTML) {if((pg12)=='N','<br/><br/>- - - -<br />Here I want to write some text and on the next line a link.<br /> <a href="http://www.toolsforresearch.com">Click here!</a><br /> - - - -',' ')}
In HTML mail the the complete expression is sent out, not the calculated result of it. I tried 2.06, 2.50 and I am wondering what I am doing wrong.
Using inline editor, popup editor, all same result: expression is in the mail. When I switch to non-HTML mails, same result. Logged in as super admin.
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Last edit: 7 years 7 months ago by tammo.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
7 years 7 months ago #141434
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic issue with admin notifications - message too long?
Isn't that what the "pop-up" mode of the editor does? By default you see the source code view but can click the pencil icon to open the editor?!jelo wrote: I think a tab with html/plain which switches between the Editor and a simple form would work.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
7 years 7 months ago - 7 years 7 months ago #141435
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic issue with admin notifications - message too long?
tammo,
1. Always use ....NAOK when referring to certain questions. It is a safer version if responses can be empty.
2. Did you check for syntax errors?
3. Try removing "(" and ")" around "pg12":
{if(pg12.NAOK=='N','<br/><br/>- - - -...
1. Always use ....NAOK when referring to certain questions. It is a safer version if responses can be empty.
2. Did you check for syntax errors?
3. Try removing "(" and ")" around "pg12":
{if(pg12.NAOK=='N','<br/><br/>- - - -...
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 7 years 7 months ago by Mazi.
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
7 years 7 months ago #141444
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic issue with admin notifications - message too long?
Tammo, try placing the variable text in an equation question and then reference that question in the email.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 7 months ago #141450
by jelo
Tammo, which version are you using?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic issue with admin notifications - message too long?
That is correct, but the question is what happens in LS afterwards. Why was disabling the HTML editor recommended instead of just using the other view? We once had a "smart ass" filtering in the EndURL field, where no editor was involved. When using EM sometimes the whole URL got messed up. Since there was no bug report there might be no bug at all.Mazi wrote: Isn't that what the "pop-up" mode of the editor does?
Tammo, which version are you using?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
7 years 7 months ago #141451
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic issue with admin notifications - message too long?
2.05 b140821 and 2.50GIT
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 7 months ago #141452
by jelo
Try that Tammo. Will narrow down the issue.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic issue with admin notifications - message too long?
Good idea. I remember doing just that to workaround the issue with the filtered EM code inside the EndURL field.tpartner wrote: Tammo, try placing the variable text in an equation question and then reference that question in the email.
Try that Tammo. Will narrow down the issue.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
7 years 7 months ago #141453
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic issue with admin notifications - message too long?
Great idea. I even works!
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
7 years 7 months ago #141454
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic issue with admin notifications - message too long?
But still struggling with HTML, though: replacing equation text in the mail works, but HTML tags are lost. Still investigating, but 1 step further now. Thanks.
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
7 years 7 months ago #141455
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic issue with admin notifications - message too long?
If it works the issue is not with the editor itself but with the php code handling the EM stuff.tammo wrote: Great idea. I even works!
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tammo
- Offline
- Official LimeSurvey Partner
Less
More
- Posts: 967
- Thank you received: 220
7 years 7 months ago #141456
by tammo
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
Replied by tammo on topic issue with admin notifications - message too long?
I guess the EM does not swallow line breaks...
Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
- tpartner
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
7 years 7 months ago #141457
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic issue with admin notifications - message too long?
Try with htmlentities() and html_entity_decode(), something like this post - www.limesurvey.org/forum/can-i-do-this-w...ge-won-t-load#141000But still struggling with HTML, though: replacing equation text in the mail works, but HTML tags are lost.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.