Welcome to the LimeSurvey Community Forum

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

Update text field based on drop down list value

  • jawatroxion
  • jawatroxion's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #131423 by jawatroxion
Hi all.

I was just asked to come up with a 'feature' in the survey I'm supposed to deliver tomorrow.

The functionality is when I select from a drop-down list of codes in Question-1, a text field in Question-2 is updated (changes) accordingly.

Say,
Code '1' is for the village of 'Sau' [Hence when I choose '1' from the list, the text field in the next question is updated to 'Sau']
Code '2' for the village of 'Petanak' [Same scenario as above only diff. code results in a different name...]
Code '3' for the village o 'Sesok' [ " ]

Is there any way to do this?

Thanks in advance for any help.

Alfian Abdul Halin
The topic has been locked.
  • jawatroxion
  • jawatroxion's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #131424 by jawatroxion
Replied by jawatroxion on topic Update text field based on drop down list value
Hold on
I think I might have found a solution here:
www.limesurvey.org/forum/can-i-do-this-w...estion-answer#130765

Will see whether it works...

Alfian Abdul Halin
The topic has been locked.
  • jawatroxion
  • jawatroxion's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 2 months ago #131428 by jawatroxion
Replied by jawatroxion on topic Update text field based on drop down list value
Ok. It works :)

Alfian Abdul Halin
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose