Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, March 29, 2024
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  show edit field when dropbox options selected

phpMyEdit General     show edit field when dropbox options selected
Post new topic   Reply to topic    
 
Paulo Fernando     Joined: 05 Oct 2014   Posts: 19  
Post 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    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy