RE: [PEAR] QUICKFORM: How to detect changed form entries?

From: Date: Thu, 06 May 2004 09:50:30 +0000
Subject: RE: [PEAR] QUICKFORM: How to detect changed form entries?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12329@lists.php.net to get a copy of this message
> -----Original Message----- > From: marko [mailto:mk362@mch.osram.de] > > Hi, > > is there a feature in QF which returns the names of elements which got > changed by the user? > > I think about implementing a QF input mask which gets data from a data > base. If the user changed only one or a few of the input > fields I want my > application to only update these changes on the data base > server and leave > the others untouched. That's why I need to find out what the user > modified, which can be certainly done by storing the starting > values and > comparison with values after form submission. If you use something like the PEAR DataObject class it will handle these checks for you and only update the relevant fields in the table. - MC ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________

« previous php.pear.general (#12329) next »