Just try what I am telling you.... it would still say 1 in the quantity field. Just if they typed more than 25 it would only show 25 in the cart once added. They could change it to a lower number, just not a higher one.
What I am telling you to do will accomplish what you are trying. Please try it and then describe what you might not like about this solution. Your arguments against this technique do not seem valid.