Hi guys, I'm hitting a brick wall and can't make this work. I want to be able to automatically add buyers to my customer list.
Anyone know how to auto-submit a form?
8
Hi guys,
I'm hitting a brick wall and can't make this work. I want to be able to automatically add buyers to my customer list.
I have figured out how to get ClickBank to pass name and email back to my thank you page and I can use PHP to request the variables and echo them on a test page. That's all cool.
I can create a form and have the variables show up in the form. So everything is good, except I can't get the automatic submission to work.
This code is supposed to work:
Any ideas what might be going wrong? As a test I'm using my standard aweber form, but I'm adding in the form name="MyForm" since the form needs a name in order for the javascript to autosubmit.
It's just not working ... and I'm really scratching my head on this one.
I'm hitting a brick wall and can't make this work. I want to be able to automatically add buyers to my customer list.
I have figured out how to get ClickBank to pass name and email back to my thank you page and I can use PHP to request the variables and echo them on a test page. That's all cool.
I can create a form and have the variables show up in the form. So everything is good, except I can't get the automatic submission to work.
This code is supposed to work:
Code:
<script type="text/javascript" language="JavaScript"><!-- document.FormName.submit(); //--></script>
It's just not working ... and I'm really scratching my head on this one.
- Voon
- zapseo
- RichPirate
- Chris Thompson
- [1] reply
- lisag
- Jay Jennings
Next Topics on Trending Feed
-
8