Paulo Fernando
Založený: 05.10.2014
Príspevky: 19
Zaslal: 2014-10-16 10:00
Návrat hore
Odpovedať s citátom
|
Good day, every day a new problem: I have a dropbox with pre-defined options but the last of them should show a new text field to enter the User information. How to show the text field only when the last option is selected? How to catch and save its value in the table instead of the selected value in the dropbox?
code....
$opts['fdd']['tipo'] = array(
'name' => 'Tipo',
'select' => 'T',
'maxlen' => 30,
'sort' => true
);
$opts['fdd']['tipo'] ['values'] = array('Rádio transmissor','Gerador de energia','Ventilador combate incendio', 'Outros'); // default is ''
the first options the amount to be saved is selected but the "Outros" should show a text field to be completed and saved in the table.
Hugs, Paulo
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|