Let me explain,
I have 3 forms on one page. One is to collect the details of any referral details and the other 2 are for payment (paypal or cheque)
My thinking is that Javascript should be able to pull the details as they are on the same page.
This is what I've got so far
This code is placed in the payment forms to passed over with payment, but its always empty - no matter what is typed in.
Any help appreciated.
Cheers
I have 3 forms on one page. One is to collect the details of any referral details and the other 2 are for payment (paypal or cheque)
My thinking is that Javascript should be able to pull the details as they are on the same page.
This is what I've got so far
Code:
<script language="Javascript"> <!-- var refer = document.referform.referral.value; document.write('<input type=\"hidden\" name=\"referral\" value=\"' + refer + '\">'); //--> </script>
Any help appreciated.
Cheers
Comment