Welcome, Guest
Username: Password: Remember me

TOPIC: creating dynamic text input

creating dynamic text input 1 year 3 months ago #98627

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • Karma: 1
I insert a number in a textbox eg: 5, and the next question will create five text boxes.

Attachment print_2013-07-29.png not found



regards ..
The administrator has disabled public write access.

creating dynamic text input 1 year 2 months ago #98690

  • tpartner
  • tpartner's Avatar
  • NOW ONLINE
  • LimeSurvey Team
  • Posts: 4293
  • Thank you received: 810
  • Karma: 373
You can do that with JavaScript but it's a little tricky if both questions are on the same page. When do you trigger the hide/show function? On every keystroke in the input or when the input is changed (which requires the respondent to click elsewhere on the page)?

Probably simpler would be a workaround like this - manual.limesurvey.org/Workarounds:_Manip...ble_Text.29_question
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.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.109 seconds
Donation Image