
1
Validation to prevent records from deletion
When a user deletes a record, I want to check if there are conditions which should prevent the deletion and provide a message like 'this record cannot be deleted because ...'
What is a good approach to this?
When a user deletes a record, I want to check if there are conditions which should prevent the deletion and provide a message like 'this record cannot be deleted because ...'
What is a good approach to this?
Login to reply