Quote Originally Posted by TheOracle
the textarea, for instance, does not expand further when I increase the value. This is what it is all about actually.
okay.

The function works this way:

zen_set_field_length($tbl, $fld, $max=70)

1. the database is checked to see what the defined maximum length of the field is in the table
2. the result is compared with the "max" value passed (default = 70)
3. If the field in the database is longer than the "max" value supplied as 3rd parameter in zen_set_field_length(), then the maximum is used.
If the database field is shorter, the shorter value is used.

If you wish to override it completely and set your own width regardless of the database settings, substitute the PHP for the relevant HTML, like this:
PHP Code:
zen_set_field_length(abc
becomes this:
PHP Code:
size="46" maxlength="45" 
(46 for size, and 45 for max, adding 1 extra char position for visibility reasons)