<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000066">
Yes, I'm using #multistep<br>
<br>
I thought about that, $form been built more than one time.&nbsp; My test
seens to point somewhere else.<br>
<br>
<br>
look at this:<br>
<br>
<br>
// my previous array $report, returned by db_fetch_array<br>
$report['name'] .= ' something'; // I insert 'something' into it<br>
<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; $form['saveit']['name'] = array(<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; '#type' =&gt; 'textfield',<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; '#title' =&gt; t('Name'),<br>
<b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; '#default_value' =&gt; $report['name'], <br>
</b><b>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; '#description' =&gt; $report['name'],<br>
</b><b></b><br>
<br>
what should be the result from default_value and description? The
same?&nbsp; No, look:<br>
<br>
<div class="form-item"> <label for="edit-name">Nome: </label> <input
 maxlength="50" name="name" id="edit-name" size="30" value=" something"
 class="form-text" type="text">
<div class="description">Array
( [name] =&gt; test something
)
</div>
</div>
<div class="form-item"> <label for="edit-weight"><br>
</label></div>
<br>
'something' shows on both outputs, but 'test' only in #descrtption.&nbsp; If
is the SAME source ($report['name']), where is 'test' ??? I'm geting
crazy with that&nbsp;&nbsp; :P<br>
<br>
I can provide a demo site if its a good idea.<br>
<br>
<br>
Feij&oacute;<br>
<br>
<br>
Tao Starbow escreveu:
<blockquote cite="mid:4798C4FA.7030809@citris-uc.org" type="cite">Probably
means your #value is getting set through some other mechanism.&nbsp; FormAPI
can be pretty subtle at times.&nbsp; I seem to remember having a similar
problem when I was playing around with #multistep, but I don't remember
how I fixed it.
  <br>
  <br>
good luck,
  <br>
-tao
  <br>
  <br>
</blockquote>
</body>
</html>