Millisecond Forums

How to make pictures stop disappearing

https://forums.millisecond.com/Topic10964.aspx

By AshleyA - 7/19/2013

Good evening,


I have programmed my experiment so that when a question isn't answered properly, the text turns red and you aren't able to go to the next page until you answer the question properly.  This is great and exactly what I want, but here's the glitch: I have pictures on each survey page, but they disappear if a question isn't answered properly.  


Is there any way to fix this?


Sincerely,


AshleyA


By Dave - 7/19/2013

Use <image> elements on <surveypage>s, not <picture>.

By AshleyA - 7/20/2013

Hi,


Thanks!  However, I now have another problem: I can't make two of the images appear on the survey page at all.  I have three separate images that appear on separate survey pages, and I've managed to make one of the images appear without a problem.  It's baffling that the other two images won't appear, because I've programmed all three in the exact same way.  Here is how I'm doing it:


First, using the <image> element:



<image BASSLikert>


/ items = BASSLikert


/ position = (50%,11%)


/ size=(550, 600)


</image>



<item BASSLikert>


/ 1 = "BASSLikert.jpg"


</item>




Then, adding the image to the surveypage like it's a question:




<surveypage BASS1>


/ fontstyle = ("Arial Black", -16, true, false, false, false, 5, 0)


/ questions = [1=BASSLikert; 2=BASS1; 3=BASS2; 4=BASS3; 5=BASS4; 6=BASS5; 7=BASS6; 8=BASS7; 9=BASS8; 10=BASS9] 


</surveypage>




Then, adding the surveypage to the survey:



<survey DemQuest>


/ pages = [1=OpeningScreen; 2=demographics1; 3=demographics2; 4=demographics3; 5=QuestOpening; 6=AEAO1; 7=AEAO2; 8=BASS1]


/ responsefontstyle = ("Arial", -14, false, false, false, false, 5, 0)


/ itemfontstyle = ("Arial Black", -15, false, false, false, false, 5, 0)


/ itemspacing = 2.75%


/ showpagenumbers = false


/ showquestionnumbers = false


</survey>




What am I doing wrong?



Sincerely,


AshleyA

By Dave - 7/20/2013

What am I doing wrong?


I cannot possibly tell you that without the actual script and files.

By AshleyA - 7/20/2013

Good afternoon,


Okay, I understand.  They're attached.


Thanks,


AshleyA

By Dave - 7/20/2013

And what exactly isn't showing up the way it's supposed to be? It's not clear from your previous post(s).


BTW: I'm not sure what you intend to do with those images on your <surveypage>s. An <image> or <picture> element is not a question that would register any response. You should use <radiobuttons> or <slider> elements for that.

By AshleyA - 7/20/2013

Hi, Dave,


The "AgreeLikert" and "BASSLikert" images are not appearing.  The AgreeLikert image is supposed to appear at the top of the AEAO1 and AEAO2 survey pages, and the BASSLikert image is supposed to appear at the top of the BASS1 survey page.


My intention is to have an image of a likert scale at the top of each page, with numbers attached to each anchor.  Like this:



Definitely disagree            Mostly disagree                Neither agree nor disagree                   Mostly agree                      Definitely agree


             1                                          2                                                   3                                                      4                                               5



Below that, I have questions with textboxes next to them:


[  ]  question 1


[  ]  question 2


[  ]  question 3


[  ]  question 4



I will ask the participants to insert the number that represents their answer choice.  So, if Participant X definitely agrees with the first 4 questions, he/she should answer this way:


[5]  question 1


[5]  question 2


[5]  question 3


[5]  question 4



I've selected this (perhaps unusual) format for two reasons: 1) it takes up less space than using radio buttons or slider scales for each question, and 2) it mimics the format that the creator of the scale used



Thank you!



AshleyA

By Dave - 7/20/2013

The "AgreeLikert" and "BASSLikert" images are not appearing.  The AgreeLikert image is supposed to appear at the top of the AEAO1 and AEAO2 survey pages, and the BASSLikert image is supposed to appear at the top of the BASS1 survey page.


They show up for me just fine (you may want to revise their /position, though. That's however not a bug). What's your Inquisit version and OS? Have you made sure you are using the latest version available at http://www.millisecond.com/download/.

By AshleyA - 7/20/2013

Hmmm.  Okay.  It's still not showing up on mine.


I'm using Inquisit 4, which I downloaded very recently.  I use Windows 7.


Any ideas?


Thank you so much,


AshleyA

By Dave - 7/20/2013

I'm using Inquisit 4, which I downloaded very recently


The exact version and build number matters. See 'Help->About... '. When in doubt re-download and install the latest version from the download page mentioned previously.


Here's what I see on Win7:


By AshleyA - 7/20/2013

Okay, I'll try downloading the latest version and see if that works.  Thank you so much for your help!!


Sincerely,


Ashley


By AshleyA - 7/20/2013

I tried downloading the latest version, but I still can't see the image of the scales.  The version I'm using is 4.0.3 32bit (build 2089).


I noticed something strange.  Even though I'm using Inquisit 4, and I've never had Inquisit 3 on my computer, my computer is identifying the script as an "Inquisit 3 Script".  Could that have something to do with this issue?


Thanks,


Ashley

By Dave - 7/20/2013

No. Inquisit 4 recognizes the exp extension (Inquisit 3 and below) as well as its own iqx extension. You can re-save the script in iqx format at any time via the file menu.