I am setting up my first coreg following bbrock's insightful thread "Introduction to Coreg - Step by Step Guide."
The only issue I am having is passing the data (first name, email and phone) to my autoresponder. I have put the autoresponder form in the step2.php file with hidden fields and a java submit form on load.
I can't figure out what PHP code I should use for the data. For example:
<input type="hidden" name="u_firstname" value="<?PHP echo $_POST['first_name']; ?>">
I have tried every combination I can think of including using the $fname. I can see the data is passing to the step2.php by viewing the source and checking the GT URL and everything is there.
Here is the full source:
<form name="my_form" id="my_form" action="http://www.instantcustomer.com/s/index.php?" method="post" target="form_submit1">
<input type="hidden" name="req" value="save_seminar_info">
<input type="hidden" name="u_series_id" value="36296">
<input type="hidden" name="u_timezone_js_offset" value="">
<input type="hidden" name="thank_you" value="1">
<input type="hidden" name="u_phone" value="<?PHP echo $_POST[$phone]; ?>">
<input type="hidden" name="u_email" value="<?PHP echo $_REQUEST[$email]; ?>">
<input type="hidden" name="u_firstname" value="<?PHP echo $_REQUEST[$fname]; ?>">
</form>
<script type="text/javascript">
function myfunc () {
var frm = document.getElementById("my_form");
frm.submit();
}
window.onload = myfunc;
</script>
thanks
Mike
Thanks
Mike
well how are you sending if from the form submit page?
also change POST to GET and send it on the querry string so you can see exactly how variables are being passed to debug things
havent been able to do this either myself.. only thing stopping me from doing coreg!! :/
That's it thanks. I thought I tried every combination I could think of.