Assuming you are using Javascript:
if (Allowance.rawValue < TotalReceipts.rawValue){
Don't know what you mean by show ....but this is where that code woudl go
} else {
show field 2 amount
}
You have not taken into account if th etwo fields are equal.
Paul