[development] Alter form in validate

Luis Santos luis.santos at openquest.pt
Wed Oct 31 10:39:53 UTC 2007


What I really want is to insert/remove form fields, not just their 
values. Thanks, luis.santos at openquest.pt wrote:

> > Hi
> >
> > I created a module and i have a problem, on validate if the 
> validation not pass, i need insert/alter form fields.
> > Is this possible?
Yes, see http://api.drupal.org/api/function/form_set_value/5.


More information about the development mailing list