Meta box as stock info
Hello, my meta box contains 4 numeric fields.
1. Main stock
2. Stock to sell
3. Stock to give
4. Stock to offer
Is it possible or is there any way that the sum of the values in fields 2,3 and 4 can never exceed the number indicated in field 1?
And the possibility of a field that is sum of the values of fields 1,2 and 3.
Thank you for your help