Longer Form Fields in Drupal

Posted by Slinger Jansen on Stack Overflow See other posts from Stack Overflow or by Slinger Jansen
Published on 2010-03-12T19:23:28Z Indexed on 2010/03/12 19:27 UTC
Read the original article Hit count: 276

Filed under:
|
|
|
|

I have a really silly problem that has cost me a load of time already.

I have created a content template with a URL in there. When I look at the HTML code for it, I see a big fat "maxlength=256" in the form tag. I'd like to expand the length of this field, because my customer wishes to enter really long links (over 500 characters). Any idea how I can change it? When I do a generic search through the code I see so many occurences of 256, but the length might just as well be in the database somewhere. I have of course made the database field a longer varchar (1024 sounded poetic to me), so that's something I don't have to worry about.

I think it's silly, but the customer's always right, as we know.

I am using Drupal 6.14.

© Stack Overflow or respective owner

Related posts about drupal

Related posts about php