rbf_formatCurrency() doesn't format a number if it's zero. Instead of populating the field with $0.00 which is desired, it leaves the field blank. Any suggestions?
var totalFee = 0;
document.theForm.totalfee.value = rbf_formatCurrency(totalFee);
I will add a parameter to manage this: show "0" or empty string.
This has been addressed in production
Try this:
rbf_formatCurrency(totalFee, "$", true);
The third parameter manages how to process 0 or NaN value.