+xRe. #1:
> [...] let's say a participant consents, but then decides during or after the questionnaires, they do not want to continue, what are my options to
> them in the script to abort the rest of the batch?
The same as in the consent script. You need to designate / include a response in the script that indicates "I want to quit" and then call the script.abort() function if that response occurs.
Re. #2:
- Word generates horrible HTML. It's better to use an actual HTML editor to create such pages.
- I don't know why "the pictures don't appear". Obviously, the images need to be actually there for them to be able to be displayed on a HTML page. If you want things to work on the web, the images may also not reside in a sub-directory.
- Generally, it may be better to convert your PowerPoint slides to simple images and then display those images in your script using standard a <picture> and <trial> element.
Hope this helps.
So I created the picture trial element. Because the pictures are instructions, I want subjects to be able to go back to previous instruction pages if they wish. This seems really simple but I can't figure out how to do it. Is there a way to just have 2 buttons per trial page to go next or back?
Here's my relevant code
<block DISC1WebRules>
/ trials = [1-36=Rules]
</block>
<instruct>
/windowsize = (800, 600)
/ finishlabel = "Press <Spacebar> to continue"
/nextkey = (57)
/nextlabel = "Next"
/prevkey = (28)
/prevlabel = "Back"
</instruct>
values>
/ itemnumber = 1
</values>
<item Disc1WebRules>
/1 = "Disc1WebRules01.jpg"
/2 = "Disc1WebRules02.jpg"
/3 = "Disc1WebRules03.jpg"
/4 = "Disc1WebRules04.jpg"
/5 = "Disc1WebRules05.jpg"
/6 = "Disc1WebRules06.jpg"
/7 = "Disc1WebRules07.jpg"
/8 = "Disc1WebRules08.jpg"
/9 = "Disc1WebRules09.jpg"
/10 = "Disc1WebRules10.jpg"
/11 = "Disc1WebRules11.jpg"
/12 = "Disc1WebRules12.jpg"
/13 = "Disc1WebRules13.jpg"
/14 = "Disc1WebRules14.jpg"
/15 = "Disc1WebRules15.jpg"
/16 = "Disc1WebRules16.jpg"
/17 = "Disc1WebRules17.jpg"
/18 = "Disc1WebRules18.jpg"
/19 = "Disc1WebRules19.jpg"
/20 = "Disc1WebRules20.jpg"
/21 = "Disc1WebRules21.jpg"
/22 = "Disc1WebRules22.jpg"
/23 = "Disc1WebRules23.jpg"
/24 = "Disc1WebRules24.jpg"
/25 = "Disc1WebRules25.jpg"
/26 = "Disc1WebRules26.jpg"
/27 = "Disc1WebRules27.jpg"
/28 = "Disc1WebRules28.jpg"
/29 = "Disc1WebRules29.jpg"
/30 = "Disc1WebRules30.jpg"
/31 = "Disc1WebRules31.jpg"
/32 = "Disc1WebRules32.jpg"
/33 = "Disc1WebRules33.jpg"
/34 = "Disc1WebRules34.jpg"
/35 = "Disc1WebRules35.jpg"
/36 = "Disc1WebRules36.jpg"
</item>
<picture Rules>
/items = DISC1WebRules
/select = values.itemnumber
</picture>
<trial Rules>
/ontrialbegin = [values.itemnumber=values.itemnumber+1]
/stimulusframes = [1 = Rules]
/validresponse = (28,57)
</trial>