Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Customising the CMS

creating forms: size of TextField


Reply

1393 Views

Avatar
Victor

27 March 2009 at 1:20am Community Member, 128 Posts

In html text fields have attribute size (not to be confused with maxlength). While maxlength is implemented in SilverStripe form creation, size is not mentioned in [url]http://api.silverstripe.com/forms/core/FormField.html[/url]

As any way to specify it? Also if I want to create a form where fields are not placed vertically but in custom layout

FirstFieldLong SecondFieldLong
ThirdField FourthField FifthField

what should I do?

Thank you in advance

Victor