Re: DB_DataObject_FormBuilder example of fieldLabels

From: Date: Tue, 23 Dec 2003 08:29:44 +0000
Subject: Re: DB_DataObject_FormBuilder example of fieldLabels
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9794@lists.php.net to get a copy of this message
    function preGenerateForm(&$fg)
    {
        $this->fieldLabels = array(
            'nom'       => 'Nom',
            'prenom'    => 'Prénom',
            'handle'    => 'Login'
        );
     }
fullo wrote:
Hi, I have not yet understand how to use fieldLabels option to modify the form labels. Can someone post a working example? Thanks Francesco Fullone


« previous php.pear.general (#9794) next »