I really need help please.. Wordpress Passing Values.

jdem02

Registered Member
Joined
Jan 16, 2010
Messages
56
Reaction score
1
Hey,
Can someone PLEASE help me. I've been trying to pass values from a form to a call to action button. Basically here it is: I got it setup so I can pass url variables in to my opt in form. so it would be hxxp://mysite.com/?&ref=(blah)&fid=(blah)&cc=(blah) When they opt in and get sent to the second page I want to pass the ref value to a call to action button. When they click that call to action button I then want to pass that value to their affiliate url so they get credit for the sale. Anyone PLEASE help? Ive been trying to figure this out for days.. :( Thank you.. This is in wordpress by the way

Jason
 
Please provide me with a HTML source code of your form - I'll try to help.
 
Pm Me Also HTML Source Code And Some More Detail, I Am Also Try To help You!
 
Your host should have at least some form of scripting language support
PHP is available in most hosting, thus, an example should looks like the following

On your site page,
<form action="hxxp://www.yourtargetsiteOraffiliateurl.com" method="GET">
<input type="hidden" name="ref" value="<? $_REQUEST['ref'] ?>"/>
<input type="submit" value="Call to Action button" />
</form>
(remember to change the hxxp)

What this will do is to create a webpage form with a button "Call to Action button"
Hidden inside the form is already a variable name "ref" with the value retrieved from the original "ref"

When the user submits, this value will be sent to the target site without needing the user to fill it in.

hth
 
Back
Top