Re: Re: How do I specify a max value for an attribute with a tex

Docc's picture
Offline
Getting busy with the Ubercode.
Joined: 07/03/2008
Juice: 168
Re: Re: How do I specify a max value for an attribute with a tex

One way todo this is to use the hook_form_alter
With the hook you can add a validation for the required field

see: http://api.drupal.org/api/function/hook_form_alter/6
and: http://api.drupal.org/api/function/_form_validate/6

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