Hi Shauna,
Shauna wrote:
What's the difference between size and maxlength in a view file?
'Size' has to do with the visible size (sorry about that) of the form field. For example, if you set size = 5, the width of a text field will be 5 characters (as measured by the size of the text on the form, not necessarily of the text you'll enter into the field which will typically be a smaller size than the font on the form). Size has nothing at all to do with how many characters you can enter into the field. Maxlength sets the number of characters that can be entered into a field. Size is an HTML attribute. Maxlength is, I believe, a javascript attribute (although I'd be surprised if 'attribute' is the right word there).
hth, Bill