Really want to get info to pre-pop. I realize that some carriers don't fully fill the number in, and that's fine by me; I would like to grab the number as to display the proper terms on the bottom, and of course boost conversions a bit. I've seen different pieces of code around here but still I'm clueless.
Setting up a coreg path is damn near the easiest thing to do, but I have yet to set this up and its been too long!
I've been using notepad to code all my stuff; would I insert code on the data grabbing page?? as seen in this thread; http://stmforum.com/forum/showthread...-Populate-info
<?php echo $_GET["whatvertherphonenumervariableisinthequerrystr ing"]; ?>
put that where you want the phone number to be
Trying this now, your a lifesaver!
I think that my data grabbing page is not right because i ripped it.. here's what it looks like where i believe it would grab user info;
<input type="hidden" name="city" id="city" value="xxxxxxx" />
<input type="hidden" name="province" id="province" value="OH" />
<input type="hidden" name="country" id="country" value="US" />
<input type="hidden" name="SID" id="SID" value="0" />
<input type="hidden" name="layout" id="layout" value="" />
<input type="hidden" name="code" id="code" value="0" />
<input type="hidden" name="cell" id="cell" value="0" />
<div id="formbox">
since the id is 'cell' the code is..
<?php echo $_GET["cell"]; ?>
inside the form on your next page, do this...
<input type="text" name="cell" id="cell" value="<?php echo $_GET["cell"]; ?>" />
you guys make this forum worth the 100 a month many times over, thank you so damn much, just needed things broken down more i suppose lol
so i think i figured it out. the form was already there, just further down lol. cell phone value/s are cellphone1, 2, and 3 i think. heres the code;
<div class="field">
<label>Cell Phone:</label>
(<input type="text"
name="cellphone1" id="cellphone1" size="3" maxlength="3" onkeyup="checkLength('cellphone1',
'cellphone2')" onkeypress="return isNumberKey(event)" />)<input type="text"
name="cellphone2" id="cellphone2" size="3" maxlength="3" onkeyup="checkLength('cellphone2',
'cellphone3')" onkeypress="return isNumberKey(event)" /><input type="text"
name="cellphone3" id="cellphone3" size="4" maxlength="4" onkeypress="return isNumberKey
(event)" />
</div>
SO in my GT url i'll add <?php echo $_GET["cellphone1"]; ?> correct? or gtoffers.com/bla/6/&mobile_number=<?php echo $_GET["cell"]; ?>
ahh i see i need to add that value part, or else the number won't mean anything eh? working on integrating what you gave me into this now
what does the beginning of the form look like?
<form action="" method="get">
gonna watch the video when i'm sober lol and in no part of the form is there any 'get' function. I ripped the URL with winHHTrack and i think that the code it spat out was post-ran... idk how to word it, but i know it's not the right coding... it spat out variables for me in the code that i'm running right now. It doesn't pre-pop anything but i'm still getting great RPU'S but i want to be in total compliance with everything! i think when i'm in a better state of mind i'll tackle this lol, tomorrow. appreciate the help bro, i was totally just gonna outsource this on another site, but i really prefer to just get shit done myself, it's worked so far lol. i think i understand roughly and with enough tweaking i know i can figure it out. any idea on a better program i can use than notepad to do my coding? or is it sufficient? i've made multiple offers using the same template and it works well, and have both dreamweaver and wysiwyg editor, but niether will work with what i have.
if there is no get function, then it is likely post. and if you just ripped the code, you won't get the PHP code that makes it work. you'll only get the HTML code that the PHP spits out.
hahah, well I'll help you set it up here in this thread tomorrow when you're sober
Believe me, I know how big of a pain in the ass the technical part is, so that's why I'll help ya out. It's way better to understand how to do it yourself.
a better program than Notepad for coding is called Notepad++ - it color codes shit so you can visually tell if your code is right or not. You can use regular Notepad, but it's just harder to read the code.
Downloaded the program, I've heard of it long ago but never needed it, good stuff; definitely easier to keep track of where I am while going back and forth between notepad and whatever else I'm doing. Watching the video you sent me right now also, gonna try to tackle this myself; I don't think it should be TOO hard but I'll be back shortly, hopefully successful lol; but I think I basically get whats up. Appreciate the help bro, truly gold info, you've already been more than helpful!