Juergen Posted January 17, 2017 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
LostKobrakai Posted January 17, 2017 Posted January 17, 2017 Look at Inputfield::processInput, especially the first few lines. 1
Juergen Posted January 17, 2017 Author 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.
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