validateElementsForEvent method should be static.