Is it a hidden input? Try this to see if it helps:

$form->getElement('nature')->setValue('consignment');

--
Hector Virgen
Sent on my Droid X

On Aug 10, 2010 3:38 PM, "Guillaume ORIOL" <[email protected]> wrote:

The "nature" element is not filled in by the user.
And the setDefault() is called after the element has been added to the form
(as this element is added in the init() method of the form class).

Le 11/08/10 00:30, Hector Virgen a écrit :

> >
> > When you view the form on the page, is the "nature" element's value
> filled in? Are you calling
> >...
>
> >> On Aug 10, 2010 3:17 PM, "Guillaume ORIOL" <[email protected]<mailto:
> [email protected]>> w...
>

Reply via email to