| Author |
Automatically filling a form
|
|
| kieran_briggs 2005-09-13, 7:17 am |
| Hi,
I'm creating a site for a training company who book places on courses through
a second partner site. When they are sent to this page they are asked to enter
the ID number of the training company. The business the gets paid for that
client.
Is it possible for the client to click on the book now link which takes it to
the form and it automatically enter the Trainer id so that the deligate doen't
have to?
Thanks
Wheelz
| |
| Joe Makowiec 2005-09-13, 7:17 am |
| On 13 Sep 2005 in macromedia.dreamweaver, kieran_briggs wrote:
> I'm creating a site for a training company who book places on
> courses through a second partner site. When they are sent to this
> page they are asked to enter the ID number of the training company.
> The business the gets paid for that client.
>
> Is it possible for the client to click on the book now link which
> takes it to the form and it automatically enter the Trainer id so
> that the deligate doen't have to?
Odds are, but you have to ask the company which does the booking. They
should have made provisions for something like:
- a query string, as in: http://example.com/register.php?ID=12345
- a cookie, which you set and which conveys to the booking company that
the person registering had just come from your site
--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
| |
| kieran_briggs 2005-09-13, 7:17 am |
| I've just called them and they don't have anything in place, because they
didn't expect this to happen.
So what I would put in the URL would be
http://www.nikon.co.uk/training/boo...erDetails?seria
lnumber=TSC101081
where the serial number is the field I want to be filled and the rest of the
URL is the page address
| |
| Joe Makowiec 2005-09-13, 7:17 am |
| On 13 Sep 2005 in macromedia.dreamweaver, kieran_briggs wrote:
> I've just called them and they don't have anything in place, because
> they didn't expect this to happen.
>
> So what I would put in the URL would be
>
>
> http://www.nikon.co.uk/training/boo...extProc=EnterDe
> tails?seria lnumber=TSC101081
>
> where the serial number is the field I want to be filled and the
> rest of the URL is the page address
You'll have to negotiate that with the booking provider.
--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
| |
| Joe Makowiec 2005-09-13, 7:17 am |
| On 13 Sep 2005 in macromedia.dreamweaver, kieran_briggs wrote:
Oh, and:
> default.asp?NextProc=EnterDetails?serialnumber=TSC101081
If you're already passing something in the querystring, in order to pass
a second variable in the querystring, it will have to be:
default.asp?NextProc=EnterDetails&serialnumber=TSC101081
In other words, use an ampersand (&) rather than a question mark, which
should be character-entity encoded on your page, thus:
default.asp?NextProc=EnterDetails&serialnumber=TSC101081
--
Joe Makowiec
http://makowiec.net/
Email: http://makowiec.net/email.php
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |