Play Framework forms: specifying @textarea rows and columns alvin September 2, 2013 - 8:17am

To specify the rows and columns in a Play Framework 2.1.x form field, use a syntax like this:

    '_label -> "Notes",
    'placeholder -> "Any notes you want to add",
    'rows -> 5,
    'cols -> 60

The textarea documentation shows that you can also specify the textarea size like this: