Juergen Posted January 17, 2017 Share Posted January 17, 2017 Hello @ all, I have a pagetable field on a page and I want to know if it is possible to check if an item of the pagetable was selected for deletion. As you can see I have clicked the basket icon to delete one item in the pagetable field. What I want to achive is to check fe via a hook before saving the page if an item was activated for deletion, so I can use fe an if/else statement with different code lines. Has anyone done something similar and has an idea how to achive this? Best regards Link to comment Share on other sites More sharing options...
LostKobrakai Posted January 17, 2017 Share Posted January 17, 2017 Look at Inputfield::processInput, especially the first few lines. 1 Link to comment Share on other sites More sharing options...
Juergen Posted January 17, 2017 Author Share Posted January 17, 2017 Thanks, I have solved this problem now with another way, where I dont need hooking into the pagetable field, but I will take a look at Inputfield::processInput. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now