[rt-users] Transaction-local CC lists truncated

Sebastian Flothow sebastian at flothow.de
Tue May 21 12:52:00 EDT 2002


At 10:13 Uhr -0400 21.5.2002, Bret Martin wrote:
>  > <tr><td align=right>Cc:</td><td> <input name="UpdateCc" size=60><BR>
>
>Er, doesn't that only tell the browser how large to make the field
>visually, and not limit the size of the submitted data?

Exactly. From the HTML 4.0 spec:


size = cdata [CN]
This attribute tells the user agent the initial width of the control. 
The width is given in pixels except when type attribute has the value 
"text" or "password". In that case, its value refers to the (integer) 
number of characters.

maxlength = number [CN]
When the type attribute has the value "text" or "password", this 
attribute specifies the maximum number of characters the user may 
enter. This number may exceed the specified size, in which case the 
user agent should offer a scrolling mechanism. The default value for 
this attribute is an unlimited number.


-- 
Sebastian Flothow
sebastian at flothow.de
#include <stddisclaimer.h>




More information about the rt-users mailing list