Hi, it didn’t help.
I have 2 text input.
input 1: size of the cut
input 2: quantity of the cut
If the client wants buy 1 meter (or 100cm), he can cut like that:
Minimum: 10 cm (=10 pieces of). In the input 2 I need to limit the max of pieces on 10. May have left over.
If he wants to cut on 25cm (size), then the max limit is 4 pieces (quantity) of the material.
If he wants to cut on 33cm (size), then the max limit is 3 pieces (quantity).
Did you understand? The max limit of the input 2 is dynamic.