Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Pondelok, 30. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Adding a custom input field to the form

phpMyEdit Configuration     Adding a custom input field to the form
Odoslať novú tému   Odpovedať na tému    
 
apemsel     Založený: 13.08.2008   Príspevky: 1  
Príspevok 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
Príspevok 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    

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