Check out the LimeSurvey source code on GitHub!

LimeSurvey1.92RC1 is released

More
5 years 1 month ago #71591 by DenisChenu

TMSWhite wrote:

Shnoulle wrote: Something: it's look like we don't have help text on tthe 1.92+ example, it work on the 1.90..

I look tomorrow to do a bug report ;).


Shnoulle, no need for that bug report. That issue has already been fixed.

Of course, if you find anything new, please submit a bug report.

/Tom

Yep, I made another error too ... look for more ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #71595 by TMSWhite
flocs, how would you use a "this" selector for tailoring?

For use within templates, the easiest solution would be to create new substitution variables like QUESTION_XXXX, where XXXX are each of the new EM-related attributes.

Or, is the thought that you would have a lot of similar questions and using "this" would avoid the need to modify the question text?
Last Edit: 5 years 1 month ago by TMSWhite.

Please Log in to join the conversation.

More
5 years 1 month ago #71598 by floccs

TMSWhite wrote: Or, is the thought that you would have a lot of similar questions and using "this" would avoid the need to modify the question text?


I think it is useful especially when using javascript workaround to extend capability of questions. I know that EM will make a lot of javascript workaround useless, but in some case a kind of this selector would be convenient. I'm thinking about some questions I've created in a survey (e.g. Track respondents answers across multiple surveys or an image selection question) that could be reused without any modifications if this exists

Please Log in to join the conversation.

More
5 years 1 month ago #71600 by TMSWhite
flocs-

Having a "this" variable for simple questions would probably be do-able. However, how would you want to refer to (e.g. create names for) questions that have sub-questions? Or, would you want "this" to refer to each sub-question as it is processed?

If you can provide some sample code that would use "this", I can think through this in more detail.

/Tom

Please Log in to join the conversation.

More
5 years 1 month ago #71643 by Steve01
Hello,

I tried to test the EM and condition to relevance conversion and it seems to work fine with our survey (which seems to be slow in 1.91+ because of its 11 conditions in one matrix question). The relevance now looks like
((BEW_1_0 > "3")) or ((BEW_2_0 > "3")) or ((BEW_3_0 > "3")) or ((BEW_4_0 > "3")) or ((BEW_5_0 > "3")) or ((BEW_6_0 > "3")) or ((BEW_7_0 > "3")) or ((BEW_8_0 > "3")) or ((BEW_9_0 > "3")) or ((BEW_10_0 > "3")) or ((BEW_11_0 > "3"))
and should be the same as the conditions we set in 1.91+.
Though it would be interessting to see if it's really much faster. But I can't test that at the moment.

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 1 month ago #71668 by Steve01
Hello,

I tested a survey using "&newtest=Y". I stoped at the second page, then started the survey. I then used the link without "&newtest=Y" but was sent to the second page and got the message:
"Please use the LimeSurvey navigation buttons or index. It appears you attempted to use the browser back button to re-submit a page."
After a click on okay I answerd the question and clicked on the "next" button. I then came out the welcome page of my survey.
It seems there is a problem to differentiate between normal survey participation and test mode.


Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
Attachments:

Please Log in to join the conversation.

More
5 years 1 month ago #71675 by Mazi
[quote="vierundzwanzig" post=71668
It seems there is a problem to differentiate between normal survey participation and test mode.
[/quote]
This sounds to be worth a bug ticket :cheer:


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #71696 by Steve01

Mazi wrote: [quote="vierundzwanzig" post=71668
It seems there is a problem to differentiate between normal survey participation and test mode.

This sounds to be worth a bug ticket :cheer:[/quote]

reported:
bugs.limesurvey.org/view.php?id=5656

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 1 month ago #71727 by DenisChenu
Hello,

With 1.91+, we have the opportunity to use focusfist function, but now this is in LEMsetTabIndexes function, we have $(this).focus(); .

I think it's not a good idea to have an automatic focusfirst function, can we remove it ?

Denis

PS: there are a problem for ranking question and input Index, but in 1.91+ too.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
5 years 1 month ago #71736 by TMSWhite
vierundzwanzig and Mazi-

The "newtest" issue is an artifact of how I'm handling sessions to keep a person from submitting the same page twice. I create a random number and send it in the HTML, plus store it in the $_SESSION. If you submit a page that doesn't have the same number, then you might have had two windows open, or clicked the browser back button, or other reasons.

This is not the most elegant solution. Yii will have better session handling which will obviate the problem.

Sounds like I just need to detect when "newtest" is passed on the command line and have the functions that look for the random number ignore it.

/Tom

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form