Formbuilder fieldLabel postfix/prefix [feature request?]

From: Date: Wed, 20 Apr 2005 11:29:53 +0000
Subject: Formbuilder fieldLabel postfix/prefix [feature request?]
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18821@lists.php.net to get a copy of this message
Hi PEARs, I'm using this inside a DO: var $fb_linkDisplayFields = array('name', 'price', 'costcategory_id'); var $fb_linkDisplayLevel = 2; I want to append an Euro symbol to the 'price', so It can be easy identified in the select field being generated. Is this possible? I'm trying to do it by using this: function postGenerateForm(&$form, &$fb) {
    $costvariable_id = &$form->getElement('costvariable_id');
    foreach ($costvariable_id->_options as $opt) {
        // Do some kind of replacement here
    }
} Any ideas? Thanks, Rodrigo.

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