Array with different answer types

More
2 months 6 days ago #157591 by caitifty
caitifty created the topic: Array with different answer types
Is it possible to have different variable types in the same array? My use case is wanting to ask respondents to give either the year an event happened or their age at the time. I can create a text array but that loses the ability to validate. Any suggestions?

Example:

"When was the first time you had a surgery where you needed general anesthetic?

[ ] Year this happened
[ ] OR your age at the time"

Please Log in to join the conversation.

More
2 months 5 days ago #157609 by LouisGac
LouisGac replied the topic: Array with different answer types
You must use javascript to reformat the output.
Also, you should ask yourself if your participants will only use a big computer screen or if they will also use tiny smartphone screens.

Please Log in to join the conversation.

More
2 months 5 days ago #157610 by tpartner
tpartner replied the topic: Array with different answer types
It sounds like you want two dropdowns within a single array cell. I suppose you could use JavaScript to insert the dropdowns but, given that there would only be one column in the data, I don't see how you could analyse the mixed data.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now