phpMyEdit - Viewing Bug Advanced Details [ Go Back ]
181 core / field option feature always 2004-02-17 07:58 2004-02-23 17:58
birdie x86  
Windows  
normal 2000 SP4  
feedback 5.3 (stable)  
open  
none  
none  
Needed a possibility to substitute a dropdown list with editbox
After configuring a drop-down list as an edit option of the DB I would like to have an option of letting users to enter new values this field thus changing a HTML control on the page
-
A solution which can be easily incorporated into existing codebase is in the attachment. This option can be enabled either via an extra "option"-> or "values2"->
0000181-test.html.txt (1 KB) 1970-01-01 01:33

Bug Notes
birdie   
2004-02-17 08:00   
An applied attachment enables this functionality both in almost every browser which supports JS (99% users have browser with JS enabled).
hbernard   
2004-02-23 17:58   
Some questions :
1/ Will it break current text-only (or even non js-enabled) browsers ?

2/ I don't understand how this is related to values2 because if user manually enter a value, what will be the _key_ (the id) of this value ?

3/ (So I suppose you are storing the value in the database, not any ID).
Say you have 3 initial values 'A', 'B' & 'C' in your dropdown. Users enters some manuals values in some records, say 'D' 'E' and 'F'.
Won't it be unsuable for users to allways show only manualy hardcoded 'A', 'B' & 'C' values in the dropdown while they see others possible values in the list mode ?