<p>
On Fri, 28 Dec 2007 10:55:58 -0200, Alessandro Feijó  wrote:
<font face="Arial" size="2"></font>
</p>
<p>
<font face="Arial" size="2">> I'm manipulating dynamicaly the content of a 
Combobox</font>
<font face="Arial" size="2"><br />
> It starts empty, I set the values with jQuery, and 
when I click Submit, an error say something like 'invalid content, contact your 
administrator'</font><font face="Arial" size="2"><br />
> There is any protection to prevent content 
different from the original possible values to an <select> ?</font>  
</p>
<p>
Yes there is.
<br />
You need to specify 
$form['your_select_element']['#dangerous_skip_check'] = TRUE;
<br />
You then need to perform your own server-side validation on the 
posted value, since this leaves your form open to  invalid submissions.
<br />
<br />
Note that this flag has been removed from D6, where the recommended way is 
now to use FAPIs #ahah properties. 
</p>