human_anomaly
Registered User.
- Local time
- Today, 18:03
- Joined
- Apr 12, 2004
- Messages
- 69
I want to check data before it is saved. I am using the before_update method to have it check the data and will use "cancel = true" to stop the save process if the data does not pass through my criteria. The problem I am having is that when the user tries to view the next record it will go to the before_update method. If the data does not pass my criteria then it cancels the update, however this also prevents the user from changing the record. Does anyone know how to cancel the save but yet still allow the user to view the next record?