I have two forms, one is sent to an email processor, the other is sent to Paypal credit card processing.
I'm trying to launch them from javascript after checking for errors.
If I do
if(!errorFlag) UserInfo.submit(); //IT WORKS FINE AND SENDS EMAIL
If I do
if(!errorFlag) CreditCard.submit(); //IT WORKS FINE AND SUBMITS CREDIT CARD INFO FOR PROCESSING

BUT If I do
if(!errorFlag) {UserInfo.submit(); CreditCard.submit();} // IT ONLY DOES THE SECOND ONE, I NEVER GET THE EMAIL.

How do I get it to submit both forms?