[development] Question about Forms API?

Karoly Negyesi karoly at negyesi.net
Thu Nov 30 22:15:51 UTC 2006


> (I also set '#input' to false, but that may be unnecessary),  

It's not 'unnecessarry' but 'fundamentally broken'. If #input is FALSE then user submitted values will never got to your element and the #value of the element won't even be created if it does not exist and $form_values won't get the #value... this is not something you want. 

I have never heard of a valid use case of someone setting #input outside of hook_elements.


More information about the development mailing list