Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+xsorry to revive this old thread, but I have another question: As said before, the participants will play a game, then come to the survey page where they will have to answer questions about a picture that appears on the site. This process repeats for a few times. Now this picture should be randomized, and implementing it wasn't a problem, as I did it as follows: <item x> / 1= picture 1 / 2= picture 2 / 3= picture 3 </item> <picture surveypic> / items = x /position = (x,y) </picture> and then implementing it on the surveypage via /stimulusframes. So far so good, though my question, is it possible to record in the dataset which of the pictures was chosen each time the participants had to fill out the survey? Yes. You need to run your <surveypage>(s) in a <block>, not a <survey>. The item will be recorded in the standard data columns (stimulusnumber and stimulusitem), just like when using a regular <trial>: <surveypage mypage> / stimulusframes = [1=mystimulus] / questions = [1=myquestion] </surveypage> <text mystimulus> / items = myitems </text> <item myitems> / 1 = "a.jpg" / 2 = "b.jpg" / 3 = "c.jpg" </item> <radiobuttons myquestion> / options = ("option 1", "option 2") / position = (40%, 80%) </radiobuttons> <block myblock> / trials = [1-3 = mypage] </block>
|
|
|
psychostudy
|
|
Group: Forum Members
Posts: 16,
Visits: 1,000
|
sorry to revive this old thread, but I have another question: As said before, the participants will play a game, then come to the survey page where they will have to answer questions about a picture that appears on the site. This process repeats for a few times. Now this picture should be randomized, and implementing it wasn't a problem, as I did it as follows: <item x> / 1= picture 1 / 2= picture 2 / 3= picture 3 </item>
<picture surveypic> / items = x /position = (x,y) </picture> and then implementing it on the surveypage via /stimulusframes. So far so good, though my question, is it possible to record in the dataset which of the pictures was chosen each time the participants had to fill out the survey?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+xThanks a lot, the option with the gif works perfectly! Just a small remark: When the question is set on required (for radiobuttons in this case), and one attempts to continue without giving an answer, the picture (and any text added with /stimulustimes) disappear. Is this supposed to happen? Yes, that is the expected behavior for stimuli displayed via /stimulustimes or -frames in <surveypage>s. There is, unfortunately, no way to change or avoid this either (<surveypages> work a bit differently than <trial> elements under the hood).
|
|
|
psychostudy
|
|
Group: Forum Members
Posts: 16,
Visits: 1,000
|
Thanks a lot, the option with the gif works perfectly! Just a small remark: When the question is set on required (for radiobuttons in this case), and one attempts to continue without giving an answer, the picture (and any text added with /stimulustimes) disappear. Is this supposed to happen?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+xIf you could give me a clearer idea / description of what exactly you want the end result to look like (i.e. what is supposed to happen when, etc.) I should be able to tell you whether that's feasible to implement and how to go about it. Well basically it goes like this: The participants play an ultimatum game with some supposedly partner (it's all the computer) before, and afterwards they'll come to the surveypage where they should believe that the other player is making a feedback (on their actions in the game), and they have to answer questions regarding to that feedback. So my idea was to have some moving loading circle/bar , which afterwards will be replaced by the picture/feedback from the other "player", giving an illusion of the system waiting for the other player's response. So when the participants come to the page, there will be questions, and the "loading symbol", which should be replaced by a picture after like 3,4 seconds. I tried making the video end just before the picture appears, however, the video persists as a black square, partly covering the picture. Are participants supposed to be able to respond to the questions _during_ the "loading circle" phase, or only after? If the latter, you could split things into two consecutive trials: (1) a <trial> that displays the loading screen, directly followed by a <surveypage> containing the static "result" image and questions. If the former, you _could_ use an animated GIF for the loading animation. GIFs are handled a bit differently than other types of videos / animations, and that should avoid the "black rectangle" problem: <surveypage feebackpage> / stimulustimes = [0=loading; 3000=playerresult] / questions = [1=q1; 2=q2] / showpagenumbers = false / showquestionnumbers = false </surveypage> <video loading> / items = ("circle.gif") / loop = false / position = (50%, 30%) </video> <text playerresult> / items = ("Imagine a static picture of the result here.") / size = (25%, 25%) / position = (50%, 30%) / vjustify = center </text> <radiobuttons q1> / caption = "Question #1" / options = ("Option A", "Option B") / position = (20%, 70%) </radiobuttons> <radiobuttons q2> / caption = "Question #2" / options = ("Option C", "Option D") / position = (40%, 70%) </radiobuttons>
|
|
|
psychostudy
|
|
Group: Forum Members
Posts: 16,
Visits: 1,000
|
+xIf you could give me a clearer idea / description of what exactly you want the end result to look like (i.e. what is supposed to happen when, etc.) I should be able to tell you whether that's feasible to implement and how to go about it. Well basically it goes like this: The participants play an ultimatum game with some supposedly partner (it's all the computer) before, and afterwards they'll come to the surveypage where they should believe that the other player is making a feedback (on their actions in the game), and they have to answer questions regarding to that feedback. So my idea was to have some moving loading circle/bar , which afterwards will be replaced by the picture/feedback from the other "player", giving an illusion of the system waiting for the other player's response. So when the participants come to the page, there will be questions, and the "loading symbol", which should be replaced by a picture after like 3,4 seconds. I tried making the video end just before the picture appears, however, the video persists as a black square, partly covering the picture.
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+xYep that did help indeed. Thanks again! Still, I gotta go back to an earlier question: There's no way to replace a <video> file with a <picture> file, is there (on a surveypage)? It would work the same way as in a <trial> element: I.e. you'd display the <video> first via the page's /stimulustimes and then, at some point later, when the video has ended, you'd display the <picture>. As in a <trial>, though, problems may arise if the video is still running at the time you display the <picture> -- basically, the <picture> would be overwritten by the <video> again, and not remain visible for long. If you could give me a clearer idea / description of what exactly you want the end result to look like (i.e. what is supposed to happen when, etc.) I should be able to tell you whether that's feasible to implement and how to go about it.
|
|
|
psychostudy
|
|
Group: Forum Members
Posts: 16,
Visits: 1,000
|
Yep that did help indeed. Thanks again! Still, I gotta go back to an earlier question: There's no way to replace a <video> file with a <picture> file, is there (on a surveypage)?
|
|
|
Dave
|
|
Group: Administrators
Posts: 13K,
Visits: 105K
|
+x+xAlright, thank you that helped out! Another question, is it possible to have videos/ animated pictures on surveypages? also to add on:is it possible to delay/replace pictures in /surveypages? So, it is possible to have <surveypage>s display stimulus elements like <text>, <picture> and <video> elements in a _limited_ capacity, via the page's /stimulustimes or -frames, just like in a regular <trial> element: <surveypage mypage> / stimulustimes = [2000=a; 4000=b] </surveypage> <text a> / items = ("A") / position = (50%, 45%) </text> <text b> / items = ("B") / position = (50%, 55%) </text> You can also display images via by setting up <image> elements and displaying those via the page's /questions attribute, but there no delay is possible. Hope this helps!
|
|
|
psychostudy
|
|
Group: Forum Members
Posts: 16,
Visits: 1,000
|
+xAlright, thank you that helped out! Another question, is it possible to have videos/ animated pictures on surveypages? also to add on:is it possible to delay/replace pictures in /surveypages?
|
|
|