[development] form protection?

Alessandro Feijó patrao at legendas.feijo.info
Fri Dec 28 13:31:34 UTC 2007

I'm not using ether

I set the #default_value to my select, no effect. same error.

I try with #value, now the error is gone, but the returned value is always 
that I set in my $form (0) and not the selected one!

baita abraço

----- Original Message ----- 
From: "Doug Green" <douggreen at douggreenconsulting.com>
To: <development at drupal.org>
Sent: Friday, December 28, 2007 11:15 AM
Subject: Re: [development] form protection?

> I'd check if the form is defined with #value instead of #default_value.
> I'm not sure if that would cause this problem, but that's what I'd check.
> Alessandro Feijó wrote:
>> I'm manipulating dynamicaly the content of a Combobox
>> It starts empty, I set the values with jQuery, and when I click Submit, 
>> an error say something like 'invalid content, contact your administrator'
>> There is any protection to prevent content different from the original 
>> possible values to an <SELECT> ?
>> Its hard to search for it, what keywords? :)
>> Thanks
>> Feijó 

More information about the development mailing list