Add custom element name validator