<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-15"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Ivan Sergio Borgonovo ha scritto:
<blockquote cite="mid:20090702121900.3edd45e4@dawn.webthatworks.it"
 type="cite">
  <pre wrap="">On Thu, 02 Jul 2009 11:52:10 +0200
Michel Morelli <a class="moz-txt-link-rfc2396E" href="mailto:michel@ziobuddalabs.it">&lt;michel@ziobuddalabs.it&gt;</a> wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Setting #default_value.
  </pre>
</blockquote>
Argh... <br>
Grrrr...<br>
Ufff.<br>
Why I don't think that the easy way is always the better way ? "keep it
simple, stupid".... grrrrrr<br>
<br>
Tnx.<br>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Michel 'ZioBudda' Morelli                       <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.net">michel@ziobuddalabs.net</a>
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

<a class="moz-txt-link-freetext" href="http://www.ziobudda.net">http://www.ziobudda.net</a>                         ICQ: 58351764  
<a class="moz-txt-link-freetext" href="http://www.ziobuddalabs.it">http://www.ziobuddalabs.it</a>                      Skype: zio_budda
<a class="moz-txt-link-freetext" href="http://www.ziodrupal.net">http://www.ziodrupal.net</a>                               MSN: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>                   
                                                JABBER: <a class="moz-txt-link-abbreviated" href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>
</pre>
</body>
</html>