Millisecond Forums

How to decrease the line spacing between radiobuttons in a survey and/or position the response options next to the question instead of underneath?

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

By mvanrooij - 9/15/2015

I'm trying to present 20 short survey questions together on the screen (to stay as close to the paper version as possible), using radiobuttons, but because of the line spacing and the fact that the response options are listed below the caption, they don't fit on one page. Is there any way to change either of this?

Question 1: So, is there a way to skip the empty lines between the questions?
Question 2: Alternatively, is there a way to position the response options next to the questions so that it would look somewhat like this:

I currently feel ...        O very happy      O happy             O not happy
I currently feel            O option 1           O option 2          O option 3
etc.

This is what I have now:
<radiobuttons q2>
/caption = "1. I currently feel ..."
/ options = ("very happy",
"happy",
"not happy")
/optionvalues = ("3", "2", "1")
/other =
/required = true
/orientation = horizontal
</radiobuttons>

<radiobuttons q1>
/caption = "1. I currently feel ..."
/ options = ("very sad",
"sad",
"not sad")
/optionvalues = ("1", "2", "3")
/other =
/required = true
/orientation = horizontal
</radiobuttons>

etc., for 20 questions in total

<surveypage Page1>
/caption ="<%values.pageinstructions%>"
/subcaption = "<%values.quitinstructions%>"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/responsefontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/questions = [1 = q1, q2, q3, a4, a5, a6, a7, q8, q9, q10, q11, q12, q13, q14, q15, q16, q17, q18, q19, q20]
/showpagenumbers = false
/showquestionnumbers = false
/nextbuttonposition = (85%, 90%)
/backbuttonposition = (75%, 90%)
</surveypage>

Thanks for any suggestions!
By Dave - 9/15/2015

Use the individual <radiobuttons> /position attributes to distribute them / place them on the <surveypage> as needed.

If you want to have the captions ("I currently feel...") line up with the options, don't use the /captions attribute. Instead, set up separate <caption> elements and again / position them as needed.

Hope this helps.
By mvanrooij - 9/21/2015

Thank you for the reply, it's very much appreciated! I did manage to position the radiobuttons on the page as I want to but I'm still having trouble with the captions.
Specifically, I defined 20 separate captions like this:
<caption q1_caption>
/caption = "1. I currently feel"
/position = (10%,16%)
<caption q2_caption>
/caption = "1. I am currently"
/position = (10%,20%)
etc.

However, I'm not sure how to now include those in my surveypage?

<surveypage Survey>
/caption ="<%values.pageinstructions%>"
/subcaption = "<%values.quitinstructions%>"
/fontstyle = ("Arial", 3%, false, false, false, false, 5, 1)
/subcaptionfontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/itemfontstyle = ("Arial", 2%, false, false, false, false, 5, 1)
/itemspacing = 2%
/responsefontstyle = ("Arial", 1.5%, false, false, false, false, 5, 1)
/ txcolor = (0, 0, 0)
/questions = [1 = q1, q2, q3, q4, q5, q6, q7, q8, q9, q10, q11, q12, q13, q14, q15, q16, q17, q18, q19, q20]
/showpagenumbers = false
/showquestionnumbers = false
/nextbuttonposition = (85%, 90%)
/backbuttonposition = (75%, 90%)
</surveypage>

Thanks for any suggestions!
By Dave - 9/21/2015

The <caption> go into the <surveypage>'s /questions attribute just like any other question element:

<caption c1>
...
</caption>

<radiobuttons q1>
...
</radiobuttons>

<surveypage somepage>
...
/ questions = [1=c1; 2=q1; ...]
...
</surveypage>