How to combine two fields and pass the result to another field