apemsel
Založený: 13.08.2008
Príspevky: 1
Zaslal: 2008-08-13 15:14
Návrat hore
Odpovedať s citátom
|
I need to add a couple of additional input field to the form. The value in these fields is later used in a trigger. What I cannot figure out is how to do this since in $opts['fdd']['foo'] foo always has to be an existing database field.
['fdd']['virtual'] is mentioned a couple of times but I am unable to figure out if this is already supported (at least in CVS head) and if so how to use it or if this is only a proposed feature.
Directly adding the input tag in a Hint is not an option since it must look like a regular form field.
|
michal
Založený: 17.06.2003
Príspevky: 537
Bydlisko: Slovakia
Zaslal: 2008-09-08 12:57
Návrat hore
Odpovedať s citátom
|
just add a field with A option and unset($newvals['field']) in insert trigger before.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|