O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Processing Text Areas

Text area fields are boxes in which the users can enter free-form text. When you create a text area field, you specify the number of rows and columns of screen space it should occupy. This area, however, doesn’t restrict the amount of text users can enter. The field scrolls both horizontally and vertically to enable the users to enter more text.

Listing 12.7 creates an HTML form with a text area field for user comments. The field’s width is specified as a number of characters that can be typed on a single line; the height is the number of lines that are displayed without scrolling.

Tip

The <textarea> cols attribute is specified as a number of characters that can fit on a single line. This setting is dependent on the font ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required