HighDots Forums  

Automatically filling a form

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Automatically filling a form in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kieran_briggs
 
Posts: n/a

Default Automatically filling a form - 09-13-2005 , 05:12 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


Reply With Quote
  #2  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Automatically filling a form - 09-13-2005 , 05:21 AM






On 13 Sep 2005 in macromedia.dreamweaver, kieran_briggs wrote:

Quote:
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


Reply With Quote
  #3  
Old   
kieran_briggs
 
Posts: n/a

Default Re: Automatically filling a form - 09-13-2005 , 05:44 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/book_now/default.asp?NextProc=EnterDetails?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


Reply With Quote
  #4  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Automatically filling a form - 09-13-2005 , 06:09 AM



On 13 Sep 2005 in macromedia.dreamweaver, kieran_briggs wrote:

Quote:
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/book_now/default.asp?NextProc=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


Reply With Quote
  #5  
Old   
Joe Makowiec
 
Posts: n/a

Default Re: Automatically filling a form - 09-13-2005 , 06:13 AM



On 13 Sep 2005 in macromedia.dreamweaver, kieran_briggs wrote:

Oh, and:

Quote:
default.asp?NextProc=EnterDetails?serialnumber=TSC 101081
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=TSC 101081

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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.