[Top] [All Lists]

Re: Please help (:

Subject: Re: Please help (:
From: "philh"
Date: Tue, 7 Aug 2007 16:26:06 +0000 UTC
Newsgroups: macromedia.coldfusion.cfml_general_discussion
Right; you need to compare each one and submit updates only for the changes.  
This evaluation must take place either in the form action or in whatever 
procedure you use for DB updates.  In the form action, you can use the 
DateCompare() function to evaluate the two dates.  You need to spin through the 
form fields, grab the date values, and plug them into the function.

 Alternatively, you could use a Javascript function to change the value of the 
hidden field from FALSE to TRUE, and issue updates only for the fields that 
were changed in that manner.

<Prev in Thread] Current Thread [Next in Thread>