Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 28. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  automatically filling in multiple fields

phpMyEdit Features     automatically filling in multiple fields
Odoslať novú tému   Odpovedať na tému    
 
Denver Dave     Založený: 02.02.2003   Príspevky: 19  
Príspevok Zaslal: 2003-12-04 23:23
Návrat hore  Odpovedať s citátom     

I just also hit the need for this. At the time the form is called, I already know certain information. Then it would be really nice when calling an add record to not make the user type the information in that I already know. Find any solutions?

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2003-12-05 01:19
Návrat hore  Odpovedať s citátom     

there can be 2 situations,
1. user has selected a option (in a dropdown menu) and you want to fill the appropriate values from different table.
could be done in insert/update before trigger (make a query to obtain these values and put them in $newvals array (and remake the pme query)


2. before displaying this form, you can guess some of variables. try to change $opts['fdd']['col']['default'] to something which will corespond with these information.

 
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