OK, maybe you could follow this post to see how to reference a value used previously in a constraint_message:
constraint_message