By NicolettaConColetta - 1/28/2015
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
|
By Dave - 1/28/2015
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>
|
|