# Add data reference to validation message

**URL:** <https://forum.dimagi.com/t/add-data-reference-to-validation-message/2369>\
**Category:** Users\
**Created:** [August 27, 2015, 5:47am UTC](https://forum.dimagi.com/t/add-data-reference-to-validation-message/2369 "2015-08-27T05:47:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob1](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/r/e495f1/32.png) [@Rob1](https://forum.dimagi.com/u/Rob1)\
**Post date:** [August 27, 2015, 5:47am UTC](https://forum.dimagi.com/t/add-data-reference-to-validation-message/2369/1 "2015-08-27T05:47:07Z")

</div>

Hi

Is it possible to add a data reference to a validation message like:

"The maximum ward number in the region you have selected is " +  
/data/maxwardno

With Thanks  
Rob

---

<div class="post-metadata">

**Author:** ![William\_Pride](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/w/b19c9b/32.png) [@William\_Pride](https://forum.dimagi.com/u/William_Pride)\
**Post date:** [August 27, 2015, 4:14pm UTC](https://forum.dimagi.com/t/add-data-reference-to-validation-message/2369/2 "2015-08-27T16:14:35Z")

</div>

Rob,

This is not possible through CommCareHQ at the moment but should be  
introduced in the near future. I'll update this thread when this feature  
becomes available.

Best,  
Will

> **···**
>
> On Thu, Aug 27, 2015 at 1:47 AM, iotc iotc wrote:
> 
> > Hi
> > 
> > Is it possible to add a data reference to a validation message like:
> > 
> > "The maximum ward number in the region you have selected is " +  
> > /data/maxwardno
> > 
> > With Thanks  
> > Rob
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "commcare-users" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [commcare-users+unsubscribe@googlegroups.com](mailto:commcare-users+unsubscribe@googlegroups.com).  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
