Hi,

How can I recupe values $formData with populate function (      
without using addValue) ?

$form->populate($formData);

$titre = $this->createElement('text', 'titre');
$titre->setLabel('title');

echo $titre->getValue(); /*display nothing*/

But if I do :

$titre = $this->createElement('text', 'titre');
$titre->setLabel('title')
        ->addValue('test');

echo $titre->getValue(); /*display the title : test*/
 

Cordialement,

Samuel verdier - Directeur technique
[EMAIL PROTECTED]

Reply via email to