Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Difference in the display of multiple numerical input question after import

  • Albinux
  • Albinux's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago - 5 years 9 months ago #170802 by Albinux
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: 5 years 9 months ago by Albinux.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170816 by tpartner
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.
The topic has been locked.
  • Albinux
  • Albinux's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170818 by Albinux
Unfortunately I have already looked and it is not the case :(
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170831 by Joffm
Hi,
I cannot reproduce in 2.73.1


But maybe this is interesting.
www.limesurvey.org/forum/can-i-do-this-w...th-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
The topic has been locked.
  • Albinux
  • Albinux's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170873 by Albinux
How do I access the question source ?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170880 by Joffm
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
The topic has been locked.
  • Albinux
  • Albinux's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170909 by Albinux
When you write:

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

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. :(
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170911 by Joffm
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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170915 by tpartner

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.
The topic has been locked.
  • Albinux
  • Albinux's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170932 by Albinux
@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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170933 by tpartner

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.
The topic has been locked.
  • Albinux
  • Albinux's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170972 by Albinux

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose