You're probably right!

The problem happens when I select a value in a combobox, then I submit.  That value, will trigger my select to load values from a table, then I need to fill the fields on the form with that values.

I tested typing something in my form name field, I select the combobox and submit.  Then, my field name didnt get to the form field name, that shows my typed content!! Am I been clear enought?

I need to circunvent the multipage system, ignoring the original fields values (from first step).  How can I do that?

I need full control of my form, without #multipage was impossible, with it its been very hard to work... gaaaaah

I have further problems with this implementation, but wont send all of it to the list as avalanche.  As I solve one, will ask here the next one and next and next :p


Thanks


ufuk bayburt escreveu:
i guess
"in the first step the query returns an empty result and default value (and value) and description are set empty(they are not visible yet). in the second step, the query returns a non-empty result and only description is set, value is not set since it was set in the first step."


On Jan 25, 2008 2:58 AM, Dave Cohen <drupal@dave-cohen.com> wrote:
You explained that you are using multistep.  And perhaps you're problem
appears on the second or subsequent form. (I'm guessing).

#default_value is the default, and it is replaced by values from the post.  So
try a print_r($_REQUEST) and see if name or edit[name] is being passed in.

Also try a print_r($form), after your alter to see what's really in
#default_value.

-Dave