Dear Sirs,
I have a table with a normal Edit page (not an inline edit one) enabled. Whenever a record is updated, a piece of PHP code in the "After record updated" event is executed. It writes log data in another table and then a javascript popup message is displayed. Some of the fields you can update also appear in the WHERE clause, so that if you change one of them to certain values then the record doesn't appear in the List page anymore. All of this is OK and it is what I want. The PHP code that writes the log record in the other table always functions OK no matter what fields are changed and what values are introduced. The only problem is that when I edit a record and I change a field that is part of the WHERE clause, the javascript popup message doesn't appear (and it should appear), and the List page is inmediately displayed, not showing of course the record I had updated, though the log record is still being generated (which is correct).
How can I do to make the popup message to appear whenever I change those fields that affect the contents of the List page?
Thanks a lot!