You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case is a user which creates user invitation entries, which have a randomly generated activation code (among other fields like email, firstname, lastname,...). This activation code should be hidden from the user, but it should be randomly generated and saved when creating the invitation.
Setting that field in the EVENT_BEFORE_SAVE has no effect since the creating user is not allowed to access that field.
I'm wondering if it's somehow possible to programmatically set restricted fields with a plugin/module when saving an entry.
Thanks
The text was updated successfully, but these errors were encountered:
My use case is a user which creates user invitation entries, which have a randomly generated activation code (among other fields like email, firstname, lastname,...). This activation code should be hidden from the user, but it should be randomly generated and saved when creating the invitation.
Setting that field in the EVENT_BEFORE_SAVE has no effect since the creating user is not allowed to access that field.
I'm wondering if it's somehow possible to programmatically set restricted fields with a plugin/module when saving an entry.
Thanks
The text was updated successfully, but these errors were encountered: