Welcome, Guest
Username: Password: Remember me

TOPIC: Autofill in a question based on another question's answer

Autofill in a question based on another question's answer 2 years 10 months ago #67537

  • bwoo5
  • bwoo5's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 80
  • Thank you received: 4
  • Karma: 0
Just wondering what javascript or process I need to use to do the following.

In general how do I say If the answer to question 1 is a certain value, set the answer to question 2 to a certain value?

What I am actually doing in the survey is I have a radio button question for question 1 and based on that answer I am hiding question 2 (language choice) but need for it to put a value in for question 2 based on what they respond to for question 1. I don't want them to do the language selection themselves, it needs to be done for them based on what region they say they are from in question 1.

Thanks!
The administrator has disabled public write access.

Re: Autofill in a question based on another question's answer 2 years 10 months ago #67539

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5325
  • Thank you received: 296
  • Karma: 249
I think this can best be done by using some customized Javascript.

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.

Re: Autofill in a question based on another question's answer 2 years 10 months ago #67549

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4180
  • Thank you received: 784
  • Karma: 358
bwoo5, can you attach a sample group or survey with your questions?
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.110 seconds
Donation Image