Hi Marco,
In current ‘‘community’’ version, there’s a way to:
- define an addressbook custom field of type ‘selectbox’, where the options
can be extracted from a db table?
You can specify a php file to read options from:
/**
* Read the options of a 'select' or 'radio' custom field from a file
*
* For security reasons that file has to be relative to the eGW root
* (to not use that feature to explore arbitrary files on the server)
* and it has to be a php file setting one variable called options,
* (to not display it to anonymously by the webserver).
* The $options var has to be an array with value => label pairs, eg:
*
* <?php
* $options = array(
* 'a' => 'Option A',
* 'b' => 'Option B',
* 'c' => 'Option C',
* );
*
* @param string $file file name inside the eGW server root, either
relative to it or absolute
* @return array in case of an error we return a single option with
the message
*/
That php file runs in context of EGroupware you can eg. use
$GLOBALS[‘egw’]->db to query the options from DB.
File is to specified by prefixing it’s relative path with an “@”. Path
has to be relative to EGroupware install dir, eg. “@options.php” for php
file “/usr/share/egroupware/options.php”, if your EGroupware install dir
is “/usr/share/egroupware”.
- define an addressbook custom field of type ‘selectbox’, that depend on
another custom filed value.
There’s currently no automatic way to do that. You can use a type
"button" with executes custom javascript, when it get pressed by user.
So user can trigger to fetch the options using currently filled in values.
Thanks. 
You’re welcome.
A support contract with us and probably supported EPL version might help
you figure these things out quickly.
Ralf
–
Ralf Becker
Director Software Development
Stylite AG
Morschheimer Strasse 15 | Tel. +49 6352 70629 0
D-67292 Kirchheimbolanden | Fax. +49 6352 70629 30
Email: rb@stylite.de
www.stylite.de | www.egroupware.org
Managing Directors: Andre Keller | Ralf Becker | Gudrun Mueller
Chairman of the supervisory board: Prof. Dr. Birger Leon Kropshofer
VAT DE214280951 | Registered HRB 31158 Kaiserslautern Germany