setCustomValidity example