Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Add numeric input to table of yes no array

Add numeric input to table of yes no array 5 Monate 1 Woche her #105536

  • quadrellis
  • quadrelliss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 8
  • Karma: 0
Hi,

I am wanting to create an array or table, that combines a normal Yes/No array with the ability to enter numeric input as shown below:

ScreenShot2014-02-25at10.25.42am.png


Can this be done ?

Cheers,

Scott
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Add numeric input to table of yes no array 5 Monate 1 Woche her #105560

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4072
  • Dank erhalten: 748
  • Karma: 341
This can be done by moving numeric inputs from following questions into the array. See this post - www.limesurvey.org/en/forum/design-issue...ifiy?start=100#94472.


.
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Add numeric input to table of yes no array 5 Monate 6 Tage her #105628

  • quadrellis
  • quadrelliss Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 8
  • Karma: 0
Thankyou, that definitely looks like what I am after. I have inserted the script and copied the question setup that was used in the link, however I am unable to get the question to display properly, I'm using Vallender will that affect things ?

Also how would I go about making three changes:
- change to short numeric input
- add a second age input
- change the order of display to: checkbox/checkbox/Numeric input/Numeric Input for each question

Attached is the .lsg


Dateianhang:

Dateiname: limesurvey_group_43.lsg
Dateigröße: 8 KB
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Add numeric input to table of yes no array 5 Monate 5 Tage her #105675

  • tpartner
  • tpartners Avatar
  • OFFLINE
  • LimeSurvey Team
  • Beiträge: 4072
  • Dank erhalten: 748
  • Karma: 341
Well, this gets a little complicated.

You will need a separate multi-numeric question for each "Age" column. And each of those will need subquestions that match the subquestions in the array.

Then you will want to make the age inputs only mandatory if a "Yes" radio is selected and disable/clear them if "Yes" is not selected.

Quite a lot of JS required...


.
Cheers,
Tony Partner

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

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
Letzte Änderung: 5 Monate 5 Tage her von tpartner.
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.139 Sekunden
Donation Image