[support] How to select an item in a form' selected list.

Ivan Sergio Borgonovo mail at webthatworks.it
Thu Jul 2 10:19:00 UTC 2009


On Thu, 02 Jul 2009 11:52:10 +0200
Michel Morelli <michel at ziobuddalabs.it> wrote:

> Hi all. I have a form. In this form I have a selected list field.
> Two question:
> 
> 1) How can I set the "selected" item when I create the form?
> 2) How can I set or reset the "selected" item via a form alter
> function ? I think that this solution is equal to the first.

Setting #default_value.

-- 
Ivan Sergio Borgonovo
http://www.webthatworks.it



More information about the support mailing list