Difference in the display of multiple numerical input question after import

More
2 weeks 1 day ago - 2 weeks 1 day ago #170802 by Albinux
Albinux created the topic: Difference in the display of multiple numerical input question after import
Hello,

I created a questionnaire about Limesurvey Version 2.72.6+171207.
When I import this questionnaire with its template on another version located on another server (Version 2.73.1+171220), I have a display difference that I can't correct for a multiple numerical input question.

Here is a link to a sample question on the first version of Limesurvey:
enquete.cortecs.org/index.php/816422?lang=fr

Here is now a link to the same question on the second version (and on another server):
enquetes-sante-pro.univ-grenoble-alpes.f...x.php/426386?lang=fr

You will notice that in the second version, the cursor is not positioned at the left end of the slider. I would like it to be, as in the first version.
Would anyone be so kind as to help me?
Last Edit: 2 weeks 1 day ago by Albinux.

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #170816 by tpartner
tpartner replied the topic: Difference in the display of multiple numerical input question after import
It looks to me like you have a starting position of 5 set for the second version. Check the question settings.

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

Please Log in or Create an account to join the conversation.

More
2 weeks 1 day ago #170818 by Albinux
Albinux replied the topic: Difference in the display of multiple numerical input question after import
Unfortunately I have already looked and it is not the case :(

Please Log in or Create an account to join the conversation.

More
2 weeks 12 hours ago #170831 by Joffm
Joffm replied the topic: Difference in the display of multiple numerical input question after import
Hi,
I cannot reproduce in 2.73.1


But maybe this is interesting.
https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/107494-allocate-weighting-across-subquestions-ranking-with-percentage#144054
What happens if you create this question again in your 2.73.1 installation?

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #170873 by Albinux
Albinux replied the topic: Difference in the display of multiple numerical input question after import
How do I access the question source ?

Please Log in or Create an account to join the conversation.

More
1 week 5 days ago #170880 by Joffm
Joffm replied the topic: Difference in the display of multiple numerical input question after import
Do you mean the code in the other topic?
Either by right-click and "show sourcecode" or by a web development tool which is included in each browser (if not too old)

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #170909 by Albinux
Albinux replied the topic: Difference in the display of multiple numerical input question after import
When you write:

"What happens if you create this question again in your 2.73.1installation?"

I think you're referring to the message from tparter who writes:

"Disable the LimeSurvey settings and place something like this in the question source:"

Actually, I don't know where to place the code that tpartner proposes. :(

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #170911 by Joffm
Joffm replied the topic: Difference in the display of multiple numerical input question after import
Hi,

I just wanted to say:

Create a new survey, enter a question of type "multi numerical" with the use of sliders.
That's because I could not reproduce your problem in the same version of LS.

Actually, I don't know where to place the code that tpartner proposes.

Klick "Source" and enter:


Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #170915 by tpartner
tpartner replied the topic: Difference in the display of multiple numerical input question after import

When I import this questionnaire with its template on another version located on another server

Did you try the survey with one of the version 2.73 core shipped templates?

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

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #170932 by Albinux
Albinux replied the topic: Difference in the display of multiple numerical input question after import
@Joffm

When I place the code that tpartner proposes in the source question you indicate, I get :


or

enquetes-sante-pro.univ-grenoble-alpes.f...x.php/263328?lang=fr

Clearly, I didn't understand what I had to do...

@tpartner
I tried the survey only on version 2.73.1+171220 because I only have this one available. :s
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 4 days ago #170933 by tpartner
tpartner replied the topic: Difference in the display of multiple numerical input question after import

I tried the survey only on version 2.73.1+171220 because I only have this one available.

Yes, but you also said that you imported a template from your 2.72 version. Try the survey using the default 2.73 template, not your imported one.

Clearly, I didn't understand what I had to do...

Did you try the sample survey provided - www.limesurvey.org/forum/can-i-do-this-w...th-percentage#144097 ?

Refer to the manual regarding inserting scripts - manual.limesurvey.org/Workarounds:_Manip...tc..29_in_LimeSurvey

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

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #170972 by Albinux
Albinux replied the topic: Difference in the display of multiple numerical input question after import

Yes, but you also said that you imported a template from your 2.72 version. Try the survey using the default 2.73 template, not your imported one.


I'm sorry I didn't specify this point: I've already tried.

Did you try the sample survey provided - www.limesurvey.org/forum/can-i-do-this-w...th-percentage#144097 ?

Refer to the manual regarding inserting scripts - manual.limesurvey.org/Workarounds:_Manip...tc..29_in_LimeSurvey


I tried the sample and read the manual. But there is something I probably don't understand because I get the result mentioned in my answer to Joffm (even putting the question text before the script). So strictly speaking I can't see what the sample application gave.

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #170978 by Joffm
Joffm replied the topic: Difference in the display of multiple numerical input question after import
Hi,
obviously you did not enter the script in source code mode.
Normal mode:


source code mode:


Regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #170983 by Albinux
Albinux replied the topic: Difference in the display of multiple numerical input question after import

obviously you did not enter the script in source code mode.


Unfortunately yes…


I enter the script in source code mode :




I save and I get that in normal mode :



and that in source code mode :

Attachments:

Please Log in or Create an account to join the conversation.

More
1 week 3 days ago #170986 by DenisChenu
DenisChenu replied the topic: Difference in the display of multiple numerical input question after import
Are you super-admin ? If not maybe XSS security setting is enable
manual.limesurvey.org/Optional_settings#Security (filterxsshtml)

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!