Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

[BUG?] maxlength is empty

Quote Reply
[BUG?] maxlength is empty
I can't use Netscape, in the admin area, to encode data in fields other than text area ones (No problem with Explorer).
The generated HTML source code show an empty value of the maxlength attribute of some fields (Category Name, for example). It seems Netscape is more restrictive than Explorer.

maxlength is defined in DBSQL.pm:

# Display a regular text field.
else { $output .= qq~<tr><td align=right valign=top width=20%><$font>$field:</font></td><td width=80%><input type=text name="$name" value="${$rec}{$field}" size="~ . ${$self->{'db_form_len'}}{$field} . qq~" maxlength="~ . ${$self->{'db_lengths'}}{$field} . qq~"></td></tr>\n~; }

It seems there's something wrong when retrieving the values from the table that defines the attribute values of fields (I checked if these values were well defined in the maintenance section and they are)

Can someone tell me how to fix this?

Subject Author Views Date
Thread [BUG?] maxlength is empty Sharif 2769 May 27, 2000, 1:18 AM
Thread Re: [BUG?] maxlength is empty
pugdog 2697 May 27, 2000, 1:35 AM
Thread Re: [BUG?] maxlength is empty
Sharif 2682 May 27, 2000, 5:12 AM
Thread maxlength bug fixed
Sharif 2679 May 27, 2000, 5:50 AM
Thread Re: maxlength bug fixed
pugdog 2657 May 27, 2000, 4:34 PM
Post Re: maxlength bug fixed
Sharif 2655 May 28, 2000, 11:24 AM