Home Forums General Issues Remove page link if page deleted


Remove page link if page deleted

  • Hey there,

    Currently, if i add a page link (inside a repeater row) all works as it should. However, if i remove that page, the page link field then defaults to the top page on the dropdown. Is there a way i can set the field to remove if the page is removed as it is causing problems with some things i am doing.

    Any help much appreciated.

  • Hi @tex0gen,

    Thanks for the post.

    I suppose you can hook into the update_field() function so that any changes made to this field will update the selected value to the one the user would like after deleting the old selection.

    For more info on this function, please refer to this page:

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Remove page link if page deleted’ is closed to new replies.