[turba] attribute with enum array and Advanced Search
Mark Hennessy
mhennessy at cloud9.net
Fri Dec 15 08:23:18 PST 2006
I want to have advanced search present a SELECT list to the user when they
try to fill in a certain category for search.
I set up the particular category as an enum and made it be an array of an
array as so:
$attributes['position'] = array(
'type' => 'enum',
'label' => 'Position',
'params' => array(array('','Middle Manager','Executive')),
'required' => false
);
I only get a text box on the advanced search even though that is there. Do I
have to kludge in by hand a pull down list into the advanced search screen or
is there an elegant way to do it using turba's config files currently?
--
Mark Hennessy
More information about the turba
mailing list