Spacing of radiobottons


Author
Message
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: 104K
If you want captions next to the radiobuttons, you may not use the <radiobutton>'s /captions attribute. Instead you need to set up separate <caption> elements, position them properly and display them along with the <radiobutton> elements on the <surveypage>.

You can manipulate spacing between the individual options by using whitespace or tabs in the <radiobutton>'s /options attributes. Do not forget to specify the /optionvalues attribute, otherwise you won't be able to distinguish between responses.

Minimal example:

<surveypage p1>
/ questions = [1=c1; 2=q1]
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

<caption c1>
/ caption = "The caption goes here."
/ position = (2%, 10%)
</caption>

<radiobuttons q1>
/ options = (" ~t", " ~t", " ~t", " ~t", " ~t")
/ optionvalues = ("1", "2", "3", "4", "5")
/ orientation = horizontal
/ position = (25%, 10%)
</radiobuttons>

NicolettaConColetta
NicolettaConColetta
Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)Expert (1.2K reputation)
Group: Forum Members
Posts: 10, Visits: 41
Dear all!
I would like to create a similar questionnaire as seen on the screenshot.
I used the html-code for radiobuttons, which works perfectly fine.
However, I wonder if it's possible to place the buttons next to the caption and also change the spacing between the buttons itself.
Any suggestions would be highly appreciated. Thanks a lot in advance*n
https://www.millisecond.com/forums/uploads/images/e53b3948-145a-4757-99bf-d09a.png


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search