Am wondering if there is a way to fire some code prior to user validation being actioned? I have code running in a plugin that fire onBeforeSave but validation is actioned before this. So was wondering if there is a function that can be run onBeforeValidation specifically for users.



Currently Craft doesn't have any events related to validation. You can see the full list of events available here.

You can always add it as a feature request, though. Be sure and add examples of your specific use-case.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.