# Restricting the data value of custom Range

**URL:** <https://forum.inductiveautomation.com/t/restricting-the-data-value-of-custom-range/69818>\
**Category:** Ignition\
**Tags:** python, ignition79, ignition80, vision, scripting\
**Created:** [February 14, 2023, 12:27pm UTC](https://forum.inductiveautomation.com/t/restricting-the-data-value-of-custom-range/69818 "2023-02-14T12:27:21Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [February 14, 2023, 1:28pm UTC](https://forum.inductiveautomation.com/t/restricting-the-data-value-of-custom-range/69818/5 "2023-02-14T13:28:12Z")

</div>

See this similar discussion:

> [@Custom property](https://forum.inductiveautomation.com/t/custom-property/69820):
>
> Hi, There is a custom property (integer datatype). If values of this property go beyond 100 it should become as 100 and if values, go less than 0 then values should stay at so basically, it's like restricting values within 0 to 100. We have to achieve this using scripting or expression. Thanks

I'm going to guess you work with @Watson_Durom? Or is this part of an exam?

---

_[View the full topic](https://forum.inductiveautomation.com/t/restricting-the-data-value-of-custom-range/69818)._
