Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
I want to add user_id and user_group_id in every record in my table clients.
I'm trying to do this with after save and I only want the update for new or cloned forms. But this doesn't work with this code. I think the problem is in the if part.