PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject_FormBuilder » Bug #4187

fieldLabels postfix/prefix

Details

Request #4187fieldLabels postfix/prefix
Submitted2005-04-20 14:40 UTC
Frompapipo at gmail dot com
StatusOpen
PackageDB_DataObject_FormBuilder
PHP Version4.3.11
OSnp
Roadmaps(Not assigned)

Comments

[2005-04-20 14:40 UTC] papipo at gmail dot com

Description:
------------
It could be interesting to use prefixes or postfixes for fieldLabels. For example, take a look at the code below.

Reproduce code:
---------------
var $fb_fieldLabels = array('name', 'price');

Expected result:
----------------
Instead of:

<option>Ford mustang, 14508.45</option>

we should be able to get:

<option>Ford mustang, 14508.45 €</option>