Docc gave you the answer - implement hook_form_alter() and change #maxlength to 12 instead of the Drupal default. There are all sorts of tutorials on how to use hook_form_alter() - look on drupal.org, on ubercart.org, or in any Drupal book. There's also a contributed module called Max Chars for Text Attributes that will do this for you.
Re: Can anybody help me any
Wed, 07/01/2009 - 21:46
#1
Re: Can anybody help me any
How do I specify a max value for an attribute with a text input field? By: chinaKat (10 replies) Thu, 06/04/2009 - 13:13
- how about using some javascript By: vectorfrog (08/09/2010 - 11:52)
- Re: How do I specify a max value for an attribute with a text in By: jasonabc (03/01/2010 - 03:12)
- Re: How do I specify a max value for an attribute with a text in By: chinaKat (06/05/2009 - 09:50)
- Re: Re: How do I specify a max value for an attribute with a tex By: Docc (06/05/2009 - 10:06)
- Docc wrote:One way todo this By: chinaKat (06/11/2009 - 13:42)
- Can anybody help me any By: chinaKat (07/01/2009 - 16:44)
- Re: Can anybody help me any By: TR (07/01/2009 - 21:46)
- Re: Re: Can anybody help me any By: chinaKat (07/01/2009 - 22:44)
- Re: Re: Re: Can anybody help me any By: TR (07/02/2009 - 01:50)
- Sigh. Well, I found a By: chinaKat (07/03/2009 - 22:44)
- Re: Re: Re: Can anybody help me any By: TR (07/02/2009 - 01:50)
- Re: Re: Can anybody help me any By: chinaKat (07/01/2009 - 22:44)
- Re: Can anybody help me any By: TR (07/01/2009 - 21:46)
- Can anybody help me any By: chinaKat (07/01/2009 - 16:44)
- Docc wrote:One way todo this By: chinaKat (06/11/2009 - 13:42)
- Re: Re: How do I specify a max value for an attribute with a tex By: Docc (06/05/2009 - 10:06)


