![]() |
Sergey Kornilov admin 2/12/2006 |
Default values work on the ADD page only. |
T
|
Tommy B author 2/21/2006 |
I created a Support Request management system for my users. They'd create a request in one table view, and through an administrative table view I'd have the ability to respond to their request and change the status from pending to closed. |
![]() |
Sergey Kornilov admin 2/22/2006 |
Tommy, function BeforeEdit(&$values, $where) { // Parameters: // $values - Array object. // Each field on the Edit form represented as 'Field name'-'Field value' pair // $where - string with WHERE clause pointing to record to be edited $values["CurrentDate"]="now()"; //** Custom code **** // put your custom code here return true; // return true if you like to proceed with editing this record // return false in other case }
|