[html-formfu] Using 2 columns as the element label?

Octavian Rasnita orasnita at gmail.com
Tue Aug 23 10:41:15 GMT 2011


Hi,

I have the following form definition:

<elements>
name user_id
type Select
label User:
empty_first 1
empty_first_label_loc - All users -
<model_config>
resultset User
id_column id
label_column username
<attributes>
columns id
columns username
distinct 1
</attributes>
</model_config>
</elements>


The problem is that I would like to use the columns first_name + a space + =
the column last_name as the label for the select options, and not only the =
username column.

Is it possible to do this somehow?

Thanks.

--Octavian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20110823/9b=
4353a2/attachment.htm


More information about the HTML-FormFu mailing list