Denver Dave
Založený: 02.02.2003
Príspevky: 19
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
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
|
|
|