I am using a 'Channel Entry Model Extension Hook' in EE3 to allow me to carry out further validation of a selection of fields.

This is working fine, currently with the 'before_channel_entry_update' hook.


However, If the validation fails, I am unable to cancel the 'update' to the entry.

Can anyone shed any light on how I can:

  1. Cancel the update
  2. Display an error message of my choice

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.