DaddyShortLegs
Založený: 21.11.2007
Príspevky: 1
Zaslal: 2007-11-21 12:31
Návrat hore
Odpovedať s citátom
|
Hi there,
I have a field that comes from another table, and I have been able to do a column join, as follows:
$opts['fdd']['hrm_file_id']['values']['table'] = 'hrm_file';
$opts['fdd']['hrm_file_id']['values']['column'] = 'hrm_file_id';
$opts['fdd']['hrm_file_id']['values']['description'] = 'datetime'; // optional
This field is an OPTIONAL field - how can I add a choice to the Drop Down box for this field with a blank value?
eg: adding $opts['fdd']['hrm_file_id']['values'] = array(''); is what I need, in addition to the join.
Any ideas are welcomed.
Thanks,
DSL
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2007-11-25 16:31
Návrat hore
Odpovedať s citátom
|
it should be $opts['fdd']['hrm_file_id']['values2'] = array(''=>'');
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|