- Posts: 348
- Thank you received: 41
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Validate ExpressionScript on email template
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
1 year 2 months ago #240564
by Jmantysalo
Validate ExpressionScript on email template was created by Jmantysalo
If I modify some email template of a survey and click "Validate ExpressionScript" -button, it validates the saved version, not the one I just wrote. Hence I must first click Save and then validate-button. To me this feels like a small bug. What others thinks, should I make a bug report?
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
1 year 2 months ago #240590
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 Validate ExpressionScript on email template
If it is not saved, it doesn't exist for Limesurvey, so it can't validate. It is just some text in a text box. If you leave the page, the code is gone as well.
I don't see this as a bug. Limesurvey is not autosave.
I don't see this as a bug. Limesurvey is not autosave.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 year 2 months ago #240906
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 Validate ExpressionScript on email template
The Expression validation is done via PHP only.
You can report it as bug, but : what is the real desired behaviour.
I think have a "Validate" saving current value is a bad solution … we must save only if it's clearly show "Save and validate"
Best can be construct a temporary POST send it to expression to validate it … but really complex to do.
You can report it as bug, but : what is the real desired behaviour.
I think have a "Validate" saving current value is a bad solution … we must save only if it's clearly show "Save and validate"
Best can be construct a temporary POST send it to expression to validate it … but really complex to do.
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.
Please Log in to join the conversation.
- Jmantysalo
- Topic Author
- Offline
- Platinum Member
Less
More
- Posts: 348
- Thank you received: 41
1 year 2 months ago #240907
by Jmantysalo
(From usability point I think it should clearly be so that the user writes, checks, corrects errors, checks, and at last saves. But this is not a big issue.)
Replied by Jmantysalo on topic Validate ExpressionScript on email template
OK, then it's not worth it.Best can be construct a temporary POST send it to expression to validate it … but really complex to do.
(From usability point I think it should clearly be so that the user writes, checks, corrects errors, checks, and at last saves. But this is not a big issue.)
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 year 2 months ago #240910
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 Validate ExpressionScript on email template
Yes , 100% with that. But currently : i think there are better place to make effort on Usuability …(From usability point I think it should clearly be so that the user writes, checks, corrects errors, checks, and at last saves. But this is not a big issue.)
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 following user(s) said Thank You: Jmantysalo
Please Log in to join the conversation.