Radio Button Items missing


Author
Message
ChaNce
ChaNce
Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)
Group: Forum Members
Posts: 39, Visits: 1

Hi, 


I have a simple demographics questionnaire based on the task library version. For some reason, the item labels to the right of the radio buttons are not showing up. Version 4.0.3, Java up to date. Code is here:


<radiobuttons marital>


/ caption = "Stato civile"


/ options = ("Celibe/nubile", "Sposato/a", "Divorziato/", "Separato/a", "Vedovo/a")


/ other = "Other"


</radiobuttons>



<radiobuttons currentemploy>


/ caption = "Qual è il suo attuale stato occupazionale? (ne selezioni più di uno se necessario)?"


/ options = ("Disoccupato/a", "Occupato/a", "Studente", "Pensionato/a")


/ other = "Other"


</radiobuttons>



<radiobuttons schooling>


/ caption = "Qual è il suo titolo di studio?"


/ options = ("Nessuno", "Scuola elementare", "Scuola media", "Scuola superiore", "Laurea", "Diploma post-laurea (master o dottorato di ricerca)")


/ other = "Other"


</radiobuttons>





<surveypage demographics1>


/ caption = "Please answer the following demographic questions"


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


/ questions = [1=oldyoufeel; 2=oldyoulook] 


</surveypage>



<surveypage demographics2>


/ caption = "Please answer the following demographic questions (continued)"


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


/ questions = [1=feel; 2=yearborn] 


</surveypage>



<surveypage demographics3>


/ caption = "Please answer the following demographic questions (continued)"


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


/ questions = [1=sex; 2=marital; 3=currentemploy; 4=schooling] 


</surveypage>




<survey demographics>


/ pages = [1=demographics1; 2=demographics2; 3=demographics3]


/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)


/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)


/ txcolor = (255, 255, 255)


/ itemspacing = 2%


/ showpagenumbers = false


</survey>



Also, here are the global default settings:



<defaults>


/ fontstyle = ("Arial", 3.5%)


/ screencolor = (0,0,0)


/ txbgcolor = (0,0,0)


/ txcolor = (255, 255, 255)


/ minimumversion = "4.0.0.0"


/ canvasaspectratio = (4, 3)


</defaults>



Any help?


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: 108K

Can you please provide (a) a screenshot illustrating the issue, (b) actually runnable code that produces the issue (not incomplete snippets) as well as (c) the complete system details for the machine you are seeing this on (OS, browser, etc.)?


ChaNce
ChaNce
Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)
Group: Forum Members
Posts: 39, Visits: 1

I have attached a txt of the script (change extension to iqx before running, obviously) and a screenshot of the issue. 


Mac running intel, OSX 10.8.5, no emulation (running in OS X), version 4.0.3, Chrome browser (but Im running it locally on the desktop version). 


LMK if you need anything else. 


Attachments
demotest.txt (400 views, 4.00 KB)
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: 108K

Sorry, I'm not seeing any screenshot. Can you attach it again, please?


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: 108K

Forget about the screenshot, don't need it. Problem is your black screen color. You see, the color for certain elements (such as radiobutton's options) cannot be changed -- it'll always be black (this is actually due to technical limitations imposed by the OS on such common controls). Point being, the options are there, they're just not visible against a black background (i.e., black text on black screen). You need to switch to a lighter background.


ChaNce
ChaNce
Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)Distinguished Member (4K reputation)
Group: Forum Members
Posts: 39, Visits: 1

Got it, thanks, 



a



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search