yes, i mean fields in a table. i'm doing a timesheet for a payroll.
the start sched, end sched, time in and time out of the employee are
the input. that means i have 4 fields. i have 5 rows of those 4
fields. the 5 rows is equal to 5 days because 1 row is equal to 1 day.
when i only put input in 4 of the rows and 1 form is empty, it will
still save the empty fields with a null value in my database. i'm
saving it through saveAll. how can i abort the save for the fields
that are empty? i think it should be done in beforeSave but i don't
know how.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to