<p>Currently Craft doesn't have any events related to validation.  You can see the full list of events available <a href="http://buildwithcraft.com/docs/plugins/events-reference" rel="nofollow">here</a>.</p>

<p>You can always add it as a <a href="http://feedback.buildwithcraft.com" rel="nofollow">feature request</a>, though. Be sure and add examples of your specific use-case.</p>

CC BY-SA 3.0
2015-10-05T18:03:56.813Z
2015-10-05T18:03:56.813Z
Brad Bell
<p>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 <code>onBeforeSave</code> but validation is actioned before this. So was wondering if there is a function that can be run <code>onBeforeValidation</code> specifically for users.</p>

<p>Cheers</p>

<users><validation>
Is there a way to to fire some code before user validation?
# Is there a way to to fire some code before user validation?

(Asked by: username_0 on 2015-10-05)

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.

Cheers

**Tags:** users, validation

---

## 1 answers

### Answer by username_1 on 2015-10-05. Score: 0 | Accepted answer

Currently Craft doesn't have any events related to validation. You can see the full list of events available [here](http://buildwithcraft.com/docs/plugins/events-reference).

You can always add it as a [feature request](http://feedback.buildwithcraft.com), though. Be sure and add examples of your specific use-case.


---

