Welcome, Guest
Username: Password: Remember me

TOPIC: creating dynamic text input

creating dynamic text input 2 years 1 day ago #98627

  • mattias
  • mattias's Avatar
  • Offline
  • Senior Lime
  • Posts: 79
  • 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 11 months ago #98690

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5026
  • Thank you received: 1038
  • Karma: 433
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
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.128 seconds