List Info

Thread: Re: Alter form in validate




Re: Alter form in validate
country flaguser name
Portugal
2007-10-31 05:39:53
What I really want is to insert/remove form fields, not just
their 
values. Thanks, luis.santosopenquest.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.

Re: Alter form in validate
country flaguser name
United States
2007-10-31 14:15:28
Luis Santos wrote:
> What I really want is to insert/remove form fields, not
just their 
> values. Thanks, luis.santosopenquest.pt wrote:
That should be possible using a multistep form. Search
drupal.org for 
"multistep form" until someone with more multistep
experience than I 
replies.

-R

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )