Skip to content

Manipulating data in a custom field before a row is deleted #1438

@PeterB316

Description

@PeterB316

Hi this is a request for help.

I've got a custom field, and it's working great for filtering, editing, and inserting.

I'm using the filterValue, insertValue, and editValue functions in the custom field to do some data manipulation before things happen in order to make it work. That's all fine.

What I can't do nicely is anything before a record is deleted. The only way I've got to do something is using onDeleting, but that's got to be done for each table where I use the custom field, whereas I'd like to make the code a part of the field definition.

Is there a way to do this nicely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions