Validate a number input so it equals sum of two other number inputs

I’m sure this is a daft question and easy to do but I just can’t find the way.

I have three input fields, all are type=number, and I want to validate one of them to make sure it equals the sum of the other two.

Can anyone put me out of my misery?!

Community Page
Last updated: