Welcome to the LimeSurvey Community Forum

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

Do I need 6 different questions?

  • Moeontri_38918
  • Moeontri_38918's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 11 months ago #106948 by Moeontri_38918
Do I need 6 different questions? was created by Moeontri_38918
Hej guys,

I'm doing a little survey (actually pretest) in the context of my master-thesis.

I have 2 different brands which can have 3 different traits. So its basically 6 different scenarios (2 brands, each 3 traits).
After a couple questions the subjects are asked to evaluate 1 out of these 6 scenarios. So what I could do is probably make 6 different question types and assign them to the subjects by random. But I don't how this will work while using SPSS later.

The thing is actually that in the question or group description I will have an image. Every scenario has its own image. So in one scenario is the brand ad is exciting, one ad is boring etc...

So like I said I would probably do it by creating 6 different questions. Each with another image and then assign them by random. Could be an advantage because then I could specify the questions with names of the brands instead of writing "the brand I showed you" or something like that.. But I was wondering if there might be another possibility and hopefully you could give me a hint. Maybe I don't need to create 6 questions and maybe I could do something where the image is combined with the brand name which then can be used in the question...Just guessing...;-)

Thanks guys. I really appreciate this...

Sebastian
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago - 9 years 11 months ago #106987 by tpartner
Replied by tpartner on topic Do I need 6 different questions?
You should be able to use expression manager to dynamically set the source of the image.

Assuming you have an equation question containing a random number between 1 and 6, something like this:
Code:
<img src="path/to/images/image_{randomNumber}.png" id="logo">

manual.limesurvey.org/LimeSurvey_Manual


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 11 months ago by tpartner.
The following user(s) said Thank You: Moeontri_38918
The topic has been locked.
  • Moeontri_38918
  • Moeontri_38918's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 11 months ago - 9 years 11 months ago #106996 by Moeontri_38918
Replied by Moeontri_38918 on topic Do I need 6 different questions?
Do I have to use the code in a question or is it also possible in the question description?

Let's say I have two brands (B1 and B2). I will use the code you wrote. When I export the data, will I be able to see which brand-image the subject evaluated. Because - don't know if you are familiar with it - I would like to show just one brand and then asked the subjects to evaluate their brand personality which contains approx. 20 different Items on 1-5Likert Scale. So I think I will need something (maybe a column in SPSS) that says those scores of the items are related to B1 etc...

Thanks, mate.
Last edit: 9 years 11 months ago by Moeontri_38918. Reason: mistake
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago - 9 years 11 months ago #106997 by tpartner
Replied by tpartner on topic Do I need 6 different questions?

Do I have to use the code in a question or is it also possible in the question description?

I don't understand the question.


When I export the data, will I be able to see which brand-image the subject evaluated.

Yes, you will have the random number stored in the equation question data column.


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 11 months ago by tpartner.
The topic has been locked.
  • Moeontri_38918
  • Moeontri_38918's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 11 months ago - 9 years 11 months ago #106998 by Moeontri_38918
Replied by Moeontri_38918 on topic Do I need 6 different questions?
Thanks.

What should I do, if I need the random brand-logo in the group description because there 6 different questions like brand attachment, purchase intention etc. And every question should be based on the random image...? I think this is my main problem.

I would like to show the brand-image in the group description and then asked the questions...But posting it in the group description won't give the opportunity to see which picture it was, right? So I definitely need a question type to have a question later on which shows me the image number?
Last edit: 9 years 11 months ago by Moeontri_38918. Reason: forgot something
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 11 months ago #107000 by tpartner
Replied by tpartner on topic Do I need 6 different questions?
As I said, load the random number into a previous equation type question . This value can then be used anywhere in the survey.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Moeontri_38918
  • Moeontri_38918's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 11 months ago - 9 years 11 months ago #107002 by Moeontri_38918
Replied by Moeontri_38918 on topic Do I need 6 different questions?
I can't get it working... :(

I created an equation question (code= brand) with the code (with my path).

<img src="path/to/images/image-{randomNumber}.jpg">


My images are named "image-1.jpg" "image-2.jpg" etc. Is "randomNumber" something that needs to be defined before this question?

Sorry...I'm a little confused right now..
Last edit: 9 years 11 months ago by Moeontri_38918. Reason: editing
The topic has been locked.
  • Moeontri_38918
  • Moeontri_38918's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 11 months ago #107005 by Moeontri_38918
Replied by Moeontri_38918 on topic Do I need 6 different questions?
Because the subjects are not allowed to pick 1 out of 6 by themselves. It must be by random.
The topic has been locked.
  • Moeontri_38918
  • Moeontri_38918's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
9 years 11 months ago #107009 by Moeontri_38918
Replied by Moeontri_38918 on topic Do I need 6 different questions?
Well, I think I found something that's very similar to what you explained and I found also some other threads like limesurvey.com/de/forum/can-i-do-this-wi...gnment-to-conditions .

I think the easiest way would be to just use "{rand(1,6)}". Like the other members I would prefer it to have equal subject numbers per scenario? Does that mean I have to use the code in the linked thread?

Thanks tpartner!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose