If you want this to happen in the browser as the data is entered then you would use a JavaScript function and call it when either of those two input fields are changed.
Bob
ChronoForms technical support If you'd like to buy me a coffee or two, thank you very much
If you'd like to buy me a coffee or two, thank you very much