Add validate event to the docs