[phplib] sql_query->form customization? From: Jens Benecke (jens <email protected>)
Date: 08/18/00

Hi,

I would like to customize the HTML form element that the sql_query class
creates. For example, I'd like the drop-down SELECT lists to accept
defaults (there seems to be some stub for this ($old,
$GLOBALS[$base]["conj_".$i], etc) in the sqlquery.inc file, but I couldn't
figure out how to activate it.

Then I'd like - optionally - to include a line that contains all data from
one fixed column of my database table, and when the user selects one, the
form is auto-submitted via javascript, ignoring the other input choices.

Some kind of "quick-find" just filtering by only one column.

Oh yes, and I'd like the "Clear" and "Submit" buttons not below, but aside
the main form. :-)

Is there a way to do this nicely, overloading functions like with the
"table" class? The code does not seem to be modularized much.

Thanks a lot! :)

-- 
ciao, Jens (mailaddr im Header)                 http://www.pinguin.conetix.de
"Schiebe nie etwas auf Boshaftigkeit, was           http://www.hitch-hiker.de
ausreichend durch Dummheit erklärt werden kann."       http://www.linuxfaq.de

  • application/pgp-signature attachment: stored