Paulo Fernando
Joined: 05 Oct 2014
Posts: 19
Posted: 2014-10-16 10:00
Back to top
Reply with quote
|
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
|
Post new topic
Reply to topic
|
|
|