Possible to autopopulate a drop down list based on another question

Mehr
3 Monate 2 Wochen her #168334 von derek_001
derek_001 erstellte das Thema Possible to autopopulate a drop down list based on another question
Hi,

I have the following situation:

Question1 on Page 1,

Question2 on Page 2,



Question1 is a short free text input, Question2 is a drop down list.

What I am trying to achieve is, auto-populate Question2 and make that read only (so user can't amend) based on text entered for Question1.

Example, enter 'ABCD' for Q1, and the third entry is auto-selected for Q2.


(N.B. Question2 already has a 'Relevance Equation' populated)


Thanks in advance

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #168413 von Joffm
Joffm antwortete auf das Thema: Possible to autopopulate a drop down list based on another question
Hi,

if I understood right, just enter as one answer option of Question2: {Question1}
and set this option as default answer.







Or what do you mean by

make that read only (so user can't amend) based on text entered for Question1.

Example, enter 'ABCD' for Q1, and the third entry is auto-selected for Q2.



Regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #168428 von derek_001
derek_001 antwortete auf das Thema: Possible to autopopulate a drop down list based on another question
Hi Joffm,

I think my original question is a little hard to understand. Currently my survey works like this:

Question 1 - 'enter a postcode' (short text entry)


Question 2 - 'pick a city' (drop down list of cities, e.g London/Paris/Manchester etc)


What I am trying to do is, after Q1 is answered, Q2 is already selected. Is it possible to do this? I may need to store the postcodes with each city somewhere for Q2 (e.g SW12 - London, MEN12 - Manchester) etc

Hope this makes more sense,

Many thanks

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Mehr
3 Monate 1 Woche her #168429 von Joffm
Joffm antwortete auf das Thema: Possible to autopopulate a drop down list based on another question
The problem of this post is similar.
Dropdown options visible depending on ATTRIBUTE.
But maybe you can get some ideas.

https://www.limesurvey.org/forum/development/114902-cannot-use-placeholder-%7Btoken-attribute_5%7D-on-question

There is a sample survey attached.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Bitte Anmelden oder Registrieren um an der Konversation teilzunehmen.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey
captcha