| Index
» Projekty
» phpMyEdit
» Fórum
» Conditional Lookup |
 |
Paulinho Cé
Založený: 22.02.2013
Príspevky: 3
Zaslal: 2013-03-12 13:01
Návrat hore
Odpovedať s citátom
|
| Kód: |
$opts['fdd']['cidade'] = array(
'name' => 'Cidade',
'select' => 'T',
'maxlen' => 30,
'sort' => true,
'values' => array(
'table' => 'cidades',
'column' => 'nome',
)
);
$opts['fdd']['cod_cidade'] = array(
'name' => 'Cod cidade',
'select' => 'T',
'maxlen' => 11,
'sort' => true,
'values' => array(
'table' => 'cidades',
'column' => 'cod_cidade',
'filters' => "cod_cidade = ???????"
)
);
|
?????? = $opts['fdd']['cidade'] = array() (item selected)
I want to select the city in the first field and want to appear only the
city code selected in the second field.
Where I capture the value of the selection of the first field?
Filter is the correct way to display the corresponding code in the second
field?
Please give me some help and I will be immensely grateful.
Thank you and congratulations
Paulo
From Brazil
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|