Millisecond Forums

linelength didn't work

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

By himandy - 10/29/2008

I used an openended to allow participants to write down their email addresses. But we found we can only input 20 characters at most. This is my code:

<openended email>
/ size = ( 500, 30)
/ stimulusframes =  [1=email]
/ buttonlabel = "Done"
/ numlines = 1     
/ linelength = 100 
/ position = (50, 60)
/ mouse = true
/ fontstyle = ("Times New Roman", 18pt, false, false, false, false, 5, 0)
</openended> 

<text email>
/ numitems = 1
/ items = ("Please write down your email")
/ position = (50,40)
/ font = ("Times New Roman", -25, 700, 0, 34)
/ erase = true (255, 255, 255)
/ color = (0,0,0)
</text>

At first, "linelength = 30". I changed it when I found the problem, but it doesn't work.
By seandr - 10/29/2008

Try setting the /charlimit command to a suitable maximum for an email address. Linelength affects the size of the textbox, but not the number of characters permitted.


-Sean

By himandy - 10/29/2008

Thanks. I found that the number of character is limited both by charlimit and size, not by linelength.