Jump to content

Page Reference MySQL RESTRICT style action


DrQuincy
 Share

Recommended Posts

From what I can tell if you have a Page Reference field and that links to a page, e.g.:

  1. page1.pageReference links to page2
  2. page2 is deleted
  3. page1.pageReference now equals null

Is there any way here to mimic a MySQL RESTRICT action so that page2 cannot be deleted (and warns you as such in the admin) while there are page fields that point to it?

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...