Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Transaction Patterns » Dropdown list (same option list for different colomns)
Re: Dropdown list [message #4279 is a reply to message #4278] Mon, 23 June 2014 03:45 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 419
Registered: May 2014
Senior Member
I also thought so but it doesn't work with me. Do I have to take attention of something else or is something wrong with my code?

Here is my code:

function _cm_getExtraData ($where, $fieldarray)
// Perform custom processing for the getExtraData method.
// $where = a string in SQL 'where' format.
// $fieldarray = the contents of $where as an array.
{

// get values for groesse_international and insert into lookup array
$array = $this->getValRep('groesse_international');
$this->lookup_data['kontakt_ausruestung_groesse_international'] = $array; // colomn of the table

return $fieldarray;

} // _cm_getExtraData

function _cm_getValRep ($item, $where)
// get Value/Representation list as an associative array.
{
$array = array();
if ($item == '_groesse_international') {
$array = getLanguageArray('groesse_international');
return $array;
} // if

return $array;

} // _cm_getValRep
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PopUpForm
Next Topic: eMail sent automatically
Goto Forum:
  


Current Time: Fri Jul 19 11:31:43 EDT 2024

Total time taken to generate the page: 0.00940 seconds