Re: [development] Alter form in validate
What I really want is to insert/remove form fields, not just their values. Thanks, luis.santos@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.
Luis Santos wrote:
What I really want is to insert/remove form fields, not just their values. Thanks, luis.santos@openquest.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
As someone with multistep form experience, I would recommend waiting for drupal 6. -t Rob Barreca wrote:
Luis Santos wrote:
What I really want is to insert/remove form fields, not just their values. Thanks, luis.santos@openquest.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
participants (3)
-
Luis Santos -
Rob Barreca -
Tao Starbow