Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 26. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  show edit field when dropbox options selected

phpMyEdit General     show edit field when dropbox options selected
Odoslať novú tému   Odpovedať na tému    
 
Paulo Fernando     Založený: 05.10.2014   Príspevky: 19  
Príspevok 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    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov