i am currently looking at PunchFactory.class.php to add a validation in Timesheet UI that if some value is changed in the opened form of an existing punch, it will not save unless there is a value in the Note field.
my question is how could i get or store the original value shown in the form, on form open? i will need this to compare with the changed value which could be taken from the gettter/setter methods of PunchFactory.class.php. at first i thought on form open, the gettter/setter methods will the called.
Discussion for TimeTrex open source community developers.
1 post • Page 1 of 1