How to validate total amount in a matrix question