Millisecond Forums

Survey Items presented in columns

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

By atran - 2/29/2016

Hello,

I was wondering how I might write a script to present items in columns side by side. For instance; 

<textbox ana24>
/ caption = "HUNCL"
/ orientation = horizontal
/textboxsize = (5,2.5)
</textbox>

<textbox ana25>
/ caption = "SETWA"
/ orientation = horizontal
/textboxsize = (5,2.5)
</textbox>

Currently I have 25 items like these two above, and I want to present them all on a single page either in 2 or 3 columns. Is this possible? Any help you could give me would be much appreciated!

Thanks,
Alex
By Dave - 2/29/2016

You need to explicitly specify the <textbox> and other question elements' respective /position attributes to place them on the <surveypage> as desired.

<surveypage somepage>
/ questions = [1=ana24; 2=ana25; ...]
...
</surveypage>

<textbox ana24>
/ caption = "HUNCL"
/ orientation = horizontal
/textboxsize = (5,2.5)
/ position = (2%, 5%)
</textbox>

<textbox ana25>
/ caption = "SETWA"
/ orientation = horizontal
/textboxsize = (5,2.5)
/ position = (12%, 5%)
</textbox>