« Return to Thread: How to select an item in a form' selected list.

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

by Michel Morelli :: Rate this Message:

Reply to Author | View in Thread

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.

M.

--
Michel 'ZioBudda' Morelli                       michel@...
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net                         ICQ: 58351764  
http://www.ziobuddalabs.it                      Skype: zio_budda
http://www.ziodrupal.net        MSN: michel@...                  
                                                JABBER: michel@...

--
[ Drupal support list | http://lists.drupal.org/ ]

 « Return to Thread: How to select an item in a form' selected list.