Set Controller Range

I need to set a lower and upper limit to controller values so when I am changing the values, they will not go above or below the range I have selected.