Ivan Sergio Borgonovo ha scritto:
On Thu, 02 Jul 2009 11:52:10 +0200
Michel Morelli michel@... 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.
Argh...
Grrrr...
Ufff.
Why I don't think that the easy way is always the better way ? "keep it
simple, stupid".... grrrrrr
Tnx.
--
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/ ]