# NumberRangeValidation

**URL:** <https://forum.servoy.com/t/numberrangevalidation/13254>\
**Category:** Classic Servoy\
**Created:** [December 1, 2010, 8:14am UTC](https://forum.servoy.com/t/numberrangevalidation/13254 "2010-12-01T08:14:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ttmgybta](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@ttmgybta](https://forum.servoy.com/u/ttmgybta)\
**Post date:** [December 1, 2010, 8:14am UTC](https://forum.servoy.com/t/numberrangevalidation/13254/1 "2010-12-01T08:14:21Z")

</div>

If I add a NumberRangeValidatior to a data field whit the values “from 1 to 24” it works fine.

But where can I customize the message, which pop’s up to the user?

Regards  
ttmgybta

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [December 1, 2010, 8:36am UTC](https://forum.servoy.com/t/numberrangevalidation/13254/2 "2010-12-01T08:36:25Z")

</div>

Ttmgybta,

The message shown is the i18n translation of key servoy.record.error.validation, default is “Validation failed for ‘{0}’, with value: {1}”  
You can change the text for that key in your messages table.

Rob

---

<div class="post-metadata">

**Author:** ![ttmgybta](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@ttmgybta](https://forum.servoy.com/u/ttmgybta)\
**Post date:** [December 1, 2010, 8:48am UTC](https://forum.servoy.com/t/numberrangevalidation/13254/3 "2010-12-01T08:48:35Z")

</div>

Thanks for your reply,

So it is a global Message for all my NuberRangeValidation.  
So I guess it is not possible to create a single message for one data field.  
I have to create my own validation whit the onDataChange event to add a specific message.  
Am I right?
