linking, with form filled in

digidude

Sheep worrier.
VIP Member
Joined
Aug 8, 2001
Messages
24,632
Reaction score
3,414
Location
The edge.
I link to an order site from my own website, which anyone who uses my site, can enter a discount code to save a few quid, and i also make a few quid referral fee, if this discount code is entered. On my site, i have the code published, as well as instructions on where to enter it, but, is it possible, as part of the link from my site, to somehow have this 'promotional code' already filled in on the form?

heres my site Broadband and heres the site where the code needs to be entered Buy Tooway Satellite Internet - Choose Your Package (in #6 promotional code)

At the moment its a simple image with a href link to the first page, where an option is chosen, then it links to the information page, ive been looking for a while on how to do this, and if i can get it so this section is filled in with a click, then ill change the pictures and links on my own site

tia

:)
 

Him Her

VIP Member
VIP Member
Premium Member
Joined
Dec 23, 2011
Messages
8,137
Reaction score
6,410
Location
North Yorkshire
It's probably academic in any case. As far as I can see there's only two ways of achieving this, the hard way and the easy way.

The easy way you add values to your href i.e. your link would be something like
Code:
You don't have permission to view the code content. Log in or register now.
but for this to work the site would need to add some code to strip out the passed value.

The hard way is to replicate the page on your own site and pass the entire form back - assuming bentley-walker will allow direct form submission.
 

VectorZ

VIP Member
VIP Member
Premium Member
Joined
Aug 18, 2005
Messages
2,555
Reaction score
1,779
if it wont receive good old fashioned parameters using the get or post methods of a form, then they've probably buried it in jquery. If you put a lot work their way their way then give them a call and ask them.... worth checking anyway as they may have locked out any kind of 3rd party urls and you're pissing in the wind.
 
TEST
Top