As described in this extension, I would request adding this feature to the CUniqueValidator by adding the ‘with’ attribute.