Survey question - equal distance for radiobuttons


Survey question - equal distance for radiobuttons

Author
Message
Lingi
Lingi
Associate Member
Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)

Group: Forum Members
Posts: 8, Visits: 47
Hi everyone,

I would like to do a survey with one question ("How did you find the task?") and several radiobuttons to indicate different aspects ("very frustrating" / "not frustrating at all"; "very easy" / "very difficult").

I would like to go the the horizontalequal option, but as the options have different length, they are not equally spaced. Is it possible to change that?

Thank you bery much for your help!
Karolin

Here is my code:

<surveypage concluding1>
/ caption = "Der Aufgabenteil der Studie ist nun vorbei. Es folgen noch einige wenige Fragen."
/ fontstyle = ("avenir", 2.2%, true, false, false, false, 5)
/ subcaptionfontstyle = ("avenir", 2%, false, true, false, false, 5, 0 )
/ itemfontstyle = ("avenir", 2.2%, false, true, false, false, 5, 0)
/ txcolor = (black)
/ questions = [1 = sequence(boring, frustrating, difficult)]
/ showbackbutton = false
/ showpagenumbers = false
/ showquestionnumbers = false
/ itemspacing = 2%
/ nextbuttonposition = (90%, 90%)
/ navigationbuttonfontstyle = ("Avenir", 2.2%, false, false, false, false, 5, 0)
/ nextlabel = "  weiter"
/ finishlabel = "  weiter"
</surveypage>

<radiobuttons boring>
/ caption = "Wie würden Sie die Aufgabe beschreiben?"
/ options=("gar nicht langweilig", " ", " ", " ", " ", " ", "sehr langweilig")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
</radiobuttons>

<radiobuttons frustrating>
/ options=("gar nicht frustrierend", " ", " ", " ", " ", " ", "sehr frustrierend")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
</radiobuttons>

<radiobuttons difficult>
/ options=("viel zu leicht", " ", " ", " ", " ", " ", "viel zu schwierig")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
</radiobuttons>

Dave
Dave
Supreme Being
Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)Supreme Being (512K reputation)

Group: Administrators
Posts: 9.2K, Visits: 39K
Lingi - Wednesday, October 24, 2018
Hi everyone,

I would like to do a survey with one question ("How did you find the task?") and several radiobuttons to indicate different aspects ("very frustrating" / "not frustrating at all"; "very easy" / "very difficult").

I would like to go the the horizontalequal option, but as the options have different length, they are not equally spaced. Is it possible to change that?

Thank you bery much for your help!
Karolin

Here is my code:

<surveypage concluding1>
/ caption = "Der Aufgabenteil der Studie ist nun vorbei. Es folgen noch einige wenige Fragen."
/ fontstyle = ("avenir", 2.2%, true, false, false, false, 5)
/ subcaptionfontstyle = ("avenir", 2%, false, true, false, false, 5, 0 )
/ itemfontstyle = ("avenir", 2.2%, false, true, false, false, 5, 0)
/ txcolor = (black)
/ questions = [1 = sequence(boring, frustrating, difficult)]
/ showbackbutton = false
/ showpagenumbers = false
/ showquestionnumbers = false
/ itemspacing = 2%
/ nextbuttonposition = (90%, 90%)
/ navigationbuttonfontstyle = ("Avenir", 2.2%, false, false, false, false, 5, 0)
/ nextlabel = "  weiter"
/ finishlabel = "  weiter"
</surveypage>

<radiobuttons boring>
/ caption = "Wie würden Sie die Aufgabe beschreiben?"
/ options=("gar nicht langweilig", " ", " ", " ", " ", " ", "sehr langweilig")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
</radiobuttons>

<radiobuttons frustrating>
/ options=("gar nicht frustrierend", " ", " ", " ", " ", " ", "sehr frustrierend")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
</radiobuttons>

<radiobuttons difficult>
/ options=("viel zu leicht", " ", " ", " ", " ", " ", "viel zu schwierig")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
</radiobuttons>

You can use tab-characters (~t) to make the options' lenghts equal:

<surveypage concluding1>
/ caption = "Der Aufgabenteil der Studie ist nun vorbei. Es folgen noch einige wenige Fragen."
/ fontstyle = ("avenir", 2.2%, true, false, false, false, 5)
/ subcaptionfontstyle = ("avenir", 2%, false, true, false, false, 5, 0 )
/ itemfontstyle = ("avenir", 2.2%, false, true, false, false, 5, 0)
/ txcolor = (black)
/ questions = [1 = sequence(boring, frustrating, difficult)]
/ showbackbutton = false
/ showpagenumbers = false
/ showquestionnumbers = false
/ itemspacing = 2%
/ nextbuttonposition = (90%, 90%)
/ navigationbuttonfontstyle = ("Avenir", 2.2%, false, false, false, false, 5, 0)
/ nextlabel = " weiter"
/ finishlabel = " weiter"
</surveypage>


<radiobuttons boring>
/ caption = "Wie würden Sie die Aufgabe beschreiben?"
/ options=("gar nicht langweilig~t", " ", " ", " ", " ", " ", "sehr langweilig~t")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
/ size = (50%, 10%)
</radiobuttons>

<radiobuttons frustrating>
/ options=("gar nicht frustrierend~t", " ", " ", " ", " ", " ", "sehr frustrierend~t")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
/ size = (50%, 10%)
</radiobuttons>

<radiobuttons difficult>
/ options=("viel zu leicht~t", " ", " ", " ", " ", " ", "viel zu schwierig~t")
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Arial", 1.5%, true, false, false, false, 5, 0)
/ size = (50%, 10%)
</radiobuttons>



Edited
Last Month by Dave
Dana Leighton
Dana Leighton
Associate Member
Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)

Group: Forum Members
Posts: 9, Visits: 33
Part of the problem is that the pixel width of the first option label sets the width of the other option labels. So, pad the shorter option labels with spaces to make it match. But, since a proportional font's width is not the same for the same number of characters, you can't do that. If you switch to a monospaced font, it works better. I tried Lucida Console and that worked.

Maybe there's a slicker solution...

Here's what I did:
<radiobuttons boring>
/ caption = "Wie würden Sie die Aufgabe beschreiben?"
/ options=("gar nicht langweilig ", " ", " ", " ", " ", " ", "sehr langweilig") -- NOTE there are 2 spaces after the first label to match the length of the longest
...
/ responsefontstyle = ("Lucida Console", 1%, true, false, false, false, 5, 0)
</radiobuttons>

<radiobuttons frustrating>
/ options=("gar nicht frustrierend", " ", " ", " ", " ", " ", "sehr frustrierend") -- NOTE this is the longest so no spaces after
...
/ responsefontstyle = ("Lucida Console", 1%, true, false, false, false, 5, 0) -- Note Lucida Console and 1% so it fits on a smaller screen area than 1.5%
</radiobuttons>

<radiobuttons difficult>
/ options=("  viel zu leicht  ", " ", " ", " ", " ", " ", "viel zu schwierig") -- NOTE 4 spaces before and after the first label
/ optionvalues= ("1", "2", "3", "4", "5", "6", "7")
/ orientation = horizontalequal
/ required = true
/ responsefontstyle = ("Lucida Console", 1%, true, false, false, false, 5, 0)
</radiobuttons>



--
Dana C. Leighton, PhD
Assistant Professor of Psychology, Texas A&M University—Texarkana

Dana Leighton
Dana Leighton
Associate Member
Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)Associate Member (60 reputation)

Group: Forum Members
Posts: 9, Visits: 33
Dave - Wednesday, October 24, 2018

You can use tab-characters (~t) to make the options' lenghts equal:


OOOh wow ... tab characters... awesome.



--
Dana C. Leighton, PhD
Assistant Professor of Psychology, Texas A&M University—Texarkana

Lingi
Lingi
Associate Member
Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)Associate Member (236 reputation)

Group: Forum Members
Posts: 8, Visits: 47
Thank you very much for your helpful replies! Problem solved!

Best
Karolin

GO


Reading This Topic


Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....






Millisecond Forums


Search