Millisecond Forums

increase size of textbox in radiobuttons element

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

By Diane - 10/20/2015

Hi

I use a radiobuttons element where participants answer a question with Yes or No, and if they answer Yes they should fill in some answer. However, the textbox is too small in some cases. How can I increase the size of the textbox to 300 characters?

Here's the code:
<radiobuttons priorknowledge>
/caption = "Did you know any of the words beforehand?"
/options = ("No")
/other = "Yes, namely: "
</radiobuttons>


Thanks,
Diane
By Dave - 10/20/2015

Have the /other attribute refer to a properly configured <textbox> element:

<surveypage mypage>
/ questions = [1=priorknowledge]
</surveypage>

<radiobuttons priorknowledge>
/caption = "Did you know any of the words beforehand?"
/options = ("No")
/other = otherbox
</radiobuttons>

<textbox otherbox>
/ caption = "Yes, namely:"
/ maxchars = 300
/ textboxsize = (50%, 50%)
/ multiline = true
</textbox>
By Diane - 10/20/2015

Great, thanks!!