Posted By skadera on 11/30/2010 10:52 AM
Hi,
I have a registration form where there is a fixed registration price ($190) and a list/menu with a number of donation amounts. I would like to display the total on the page and email it to myself and the user. I've been trying to use the following client side event to display it but it doesn't work. Here's what I did:
Added to the donation field client side event:
$(total) = (parseInt($(Donation)) + 190.00);
document.getElementById('TotalCombo').innerHTML = 'Your total comes to: ' formatCurrency($(total)) '';
Created text/html field:
Short name is "TotalCombo" and includes:
total
Can anyone tell me what I am doing wrong?
Try:
document.getElementById('TotalCombo').innerHTML = 'Your total comes to: '
+ formatCurrency($(total));