On Delete, On Validate

On Delete, On Validate

I would need a new Form Action: "on delete, on validate"; so I can prevent users to delete a record if certain conditions are meet (cancel submit).