Closed (fixed)
Project:
Frequently Asked Questions
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2010 at 19:09 UTC
Updated:
17 Nov 2010 at 18:00 UTC
I've searched a lot, and I can't seem to find an answer to this.
I know that the maxlength of a node title is 255. However, it seems faq "Questions" are limited to only 127. I think it's the form itself, i.e. there's nothing in the DB saying that it can only accept 127 - the input has maxlenth set to 128 (see below). I'm unsure where it is set / where to go to change it.
<input type="text" maxlength="128" name="title" id="edit-title" size="60" value="" class="form-text required" />
Any help is greatly appreciated. Thanks!
Comments
Comment #1
jbliss commentedI figured it out. I had to use hook_form_alter() in a new module to set #maxlength to 255.
Cheers!
Comment #2
stella commentedAdded it to the faq.module, will be included in the next release.
Comment #3
stella commentedReleased in 6.x-1.12.
Comment #4
jbliss commentedGreat. Thanks, stella!