radiobuttons: images and columns; global timer


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 107K
psychostudy - Monday, November 13, 2017
Thank you, that did indeed help!
I got some further questions though:
1) Is it possible to implement a button on each page of a block, which, when pressed, quits the block, so participants could end the test (if they finished before time runs out) regardless on which page they are?
2) I implemented the answer limitation similar to your posted example,as I worked for this task with check boxes as well (-->counting the numbers of ticked boxes,if it's too high, you can't proceed). Now is there a possibility that, when someone tries to move to the next page with too many check boxes ticked, that you can make a short message appear in the sense of "you ticked too many boxes"?

3)again for the radiobuttons: Is there a possibility to decide the position of the answers of a single item beyond the /orientation command?

also some questions for the /include command:
4) if two or more experiments have elements with the same name, it gets an error. I recall seeing a tutorial, where you can handle this collision directly in the the file where you include the other experiments instead of renaming every single element in one of the experiments, but I can't find it anymore. Anyone might know what I'm talking about and have a link?
5) I want to include another experiment, which is located in a different folder. By choosing its path, it can include the experiment with no problems, however, if this experiment contains pictures (which are also located in that folder), I get an error message, saying it can't find the pictures. Is there a way around this or do I just have to include the pictures in the same folder where I have the File that runs the /include command?

thanks again in advance for answers

> 1) Is it possible to implement a button on each page of a block, which, when pressed, quits the block, so participants could end the test
> (if they finished before time runs out) > regardless on which page they are?

You'd have to include a <radiobuttons> question or the like on the respective <surveypage>s (or define some additional response in any <trial>s) that -- if answered in some fashion -- terminates the rest of the <block> via a /stop command.

<surveypage pg1>
/ caption = "Page 1 of 3"
/ questions = [1=a; 2=quitq]
</surveypage>

<surveypage pg2>
/ caption = "Page 2 of 3"
/ questions = [1=b; 2=quitq]
</surveypage>

<surveypage pg3>
/ caption = "Page 3 of 2"
/ questions = [1=c; 2=quitq]
</surveypage>

<radiobuttons quitq>
/ caption = ("Would you like to quit?"
/ options = ("Yes", "No")
/ defaultresponse = "No"
</radiobuttons>

<dropdown a>
/ options = ("A1", "A2")
</dropdown>
<dropdown b>
/ options = ("B1", "B2")
</dropdown>
<dropdown c>
/ options = ("C1", "C2")
</dropdown>

<block myblock>
/ stop = [radiobuttons.quitq.response == "Yes"]
/ trials = [1=pg1; 2=pg2; 3=pg3]
</block>

> 2) I implemented the answer limitation similar to your posted example,as I worked for this task with check boxes as well (-->counting the numbers of ticked boxes,
> if it's too high, you can't proceed). Now is there a possibility that, when someone tries to move to the next page with too many check boxes ticked,
> that you can make a short message appear in the sense of "you ticked too many boxes"?

Yes. From the page with your checkboxes /branch to another page that displays the "too many boxes" message if too many boxes have been ticked. From there, /branch back to the original page.

> 3)again for the radiobuttons: Is there a possibility to decide the position of the answers of a single item beyond the /orientation command?

I'm not quite sure what you mean here, but you can define the position of any given <radiobuttons> element via its /position attribute.

> 4) if two or more experiments have elements with the same name, it gets an error. I recall seeing a tutorial, where you can handle
> this collision directly in the the file where you include the other experiments instead of renaming every single element
> in one of the experiments, but I can't find it anymore. Anyone might know what I'm talking about and have a link?

I believe you are mistaken here. This is not possible with <include> -- all <include> does is effectively paste the contents of an external file into the main file; i.e. it is the same as having everything in a single file. As such, there may not be any name collisions, regardless of whether you use <include> or not.

If you have several self-contained experiments, however, you may execute those in the desired order one after another via <batch>, which is entirely different from <include>.

> 5) I want to include another experiment, which is located in a different folder. By choosing its path, it can include the experiment with no problems,
> however, if this experiment contains pictures (which are also located in that folder), I get an error message, saying it can't find the pictures.
> Is there a way around this or do I just have to include the pictures in the same folder where I have the File that runs the /include command?

You can specify the path to the image files in the respective script's <item> elements.

psychostudy
psychostudy
Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)
Group: Forum Members
Posts: 16, Visits: 1,000
Thank you, that did indeed help!
I got some further questions though:
1) Is it possible to implement a button on each page of a block, which, when pressed, quits the block, so participants could end the test (if they finished before time runs out) regardless on which page they are?
2) I implemented the answer limitation similar to your posted example,as I worked for this task with check boxes as well (-->counting the numbers of ticked boxes,if it's too high, you can't proceed). Now is there a possibility that, when someone tries to move to the next page with too many check boxes ticked, that you can make a short message appear in the sense of "you ticked too many boxes"?

3)again for the radiobuttons: Is there a possibility to decide the position of the answers of a single item beyond the /orientation command?

also some questions for the /include command:
4) if two or more experiments have elements with the same name, it gets an error. I recall seeing a tutorial, where you can handle this collision directly in the the file where you include the other experiments instead of renaming every single element in one of the experiments, but I can't find it anymore. Anyone might know what I'm talking about and have a link?
5) I want to include another experiment, which is located in a different folder. By choosing its path, it can include the experiment with no problems, however, if this experiment contains pictures (which are also located in that folder), I get an error message, saying it can't find the pictures. Is there a way around this or do I just have to include the pictures in the same folder where I have the File that runs the /include command?

thanks again in advance for answers

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 107K
psychostudy - Saturday, October 28, 2017
Hello,
I've got a few questions reading the construction of a matrices test, which I want to have as part of my experiment:
Basically I want to present the pattern and the participants have to choose between the missing elements (implemented as pictures), one exercise per page. Since they may skip forward if they can't solve one and come back to it later, I opted for implementing it with radiobuttons, since it's easy to go forward/backwards and the participants can see easily which one they already solved.

So here are my questions:
1.) Is it possible to tie images directly to the radiobuttons (i.e. to implement them as /options)?
2.) Is it possible to have multiple columns with one single radiobutton element, or do you have to make a separate one for each column?
3.) I'd like to put a time limit on the task, which should be visible on every page, and end the block (as it is just a part of an experiment) regardless on which page they are. Is something like that possible?

thanks for your answers in advance.

> 1.) Is it possible to tie images directly to the radiobuttons (i.e. to implement them as /options)?

No, it's not possible to define images _directly_ as /options. You would have to build something like this: http://library.millisecond.com/v3/selectitems/selectitems.zip

> 2.) Is it possible to have multiple columns with one single radiobutton element, or do you have to make a separate one for each column?

Due to #1 above, you will probably have to define separate <radiobuttons> elements.

> 3.) I'd like to put a time limit on the task, which should be visible on every page, and end the block (as it is just a part of an experiment) regardless on which page they are. Is
> something like that possible?

You can define a /timeout at the <block> or <survey> level. You can potentially set up a <clock> stimulus counting down the time remaining and display that stimulus via /stimulusframes or the <block>'s /bgstim.

Hope this helps.

psychostudy
psychostudy
Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)Expert (1.3K reputation)
Group: Forum Members
Posts: 16, Visits: 1,000
Hello,
I've got a few questions reading the construction of a matrices test, which I want to have as part of my experiment:
Basically I want to present the pattern and the participants have to choose between the missing elements (implemented as pictures), one exercise per page. Since they may skip forward if they can't solve one and come back to it later, I opted for implementing it with radiobuttons, since it's easy to go forward/backwards and the participants can see easily which one they already solved.

So here are my questions:
1.) Is it possible to tie images directly to the radiobuttons (i.e. to implement them as /options)?
2.) Is it possible to have multiple columns with one single radiobutton element, or do you have to make a separate one for each column?
3.) I'd like to put a time limit on the task, which should be visible on every page, and end the block (as it is just a part of an experiment) regardless on which page they are. Is something like that possible?

thanks for your answers in advance.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search