Yes, I'm using #multistep

I thought about that, $form been built more than one time.  My test seens to point somewhere else.


look at this:


// my previous array $report, returned by db_fetch_array
$report['name'] .= ' something'; // I insert 'something' into it

        $form['saveit']['name'] = array(
            '#type' => 'textfield',
            '#title' => t('Name'),
            '#default_value' => $report['name'],
            '#description' => $report['name'],


what should be the result from default_value and description? The same?  No, look:

Array ( [name] => test something )

'something' shows on both outputs, but 'test' only in #descrtption.  If is the SAME source ($report['name']), where is 'test' ??? I'm geting crazy with that   :P

I can provide a demo site if its a good idea.


Feijó


Tao Starbow escreveu:
Probably means your #value is getting set through some other mechanism.  FormAPI can be pretty subtle at times.  I seem to remember having a similar problem when I was playing around with #multistep, but I don't remember how I fixed it.

good luck,
-tao