Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: field allignement - multiple numerical input

field allignement - multiple numerical input 5 years 10 months ago #52721

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
Hi, I am creating a new survey (based on the questionnaire on an old one).
I am doing a multiple numerical input, and when I "preview this question", the result is correct:


But when I "test this survey" the result is incorrect: input fields are not alligned (see below).

Any idea?

TIA
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52722

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0


... I see unwanted bullets before items, too!
Last Edit: 5 years 10 months ago by vs_arni.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52741

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6004
  • Thank you received: 370
  • Karma: 260
Try adding these lines at the end of the template.css file of your template to get rid of the bullets:
ul{
list-style-type:none;
}

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52748

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6305
  • Thank you received: 1407
  • Karma: 546
Arni, you appear to be loosing several styles. Can you activate a sample survey for me to check?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52765

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
it seems doesn't run...
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52766

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
tpartner wrote:
Arni, you appear to be loosing several styles. Can you activate a sample survey for me to check?

done
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52786

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6305
  • Thank you received: 1407
  • Karma: 546
Could you please post or PM the link?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52787

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52789

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6305
  • Thank you received: 1407
  • Karma: 546
Hmm...you appear to be missing the question IDs and classes. Can you post the contents of your question.pstpl file?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52790

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
I don't find this file!

The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52791

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6305
  • Thank you received: 1407
  • Karma: 546
Move to the "Question page" screen:
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52792

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
Here is:

<div class="questionframe">
<div class="questiontext">
{QUESTION}
</div>
<div class="answer">
{ANSWER}
</div>
<div class="questionhelp">
{QUESTIONHELP}
</div>
</div>
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52793

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6305
  • Thank you received: 1407
  • Karma: 546
As I thought, this must be an old template so you are missing the code to insert question IDs and classes. Replace the contents of your question.pstpl with the following:
<div {QUESTION_ESSENTIALS} class="{QUESTION_CLASS}{QUESTION_MAN_CLASS}{QUESTION_INPUT_ERROR_CLASS}">
    <div class="questionframe">
        <div class="questiontext">
            {QUESTION}
        </div>
        <div class="answer">
            {ANSWER}
        </div>
        <div class="questionhelp">
            {QUESTIONHELP}
        </div>
    </div>
</div>
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52796

  • vs_arni
  • vs_arni's Avatar
  • Offline
  • Senior Lime
  • Posts: 68
  • Karma: 0
Yeah, now it runs!

Many thanks.
The administrator has disabled public write access.

field allignement - multiple numerical input 5 years 10 months ago #52799

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6004
  • Thank you received: 370
  • Karma: 260
You're welcome!

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.243 seconds
Imprint                   Privacy policy                  Revocation information and revocation form