Use postcode to redirect to certain page on site

D

davidnewton

I'd like to create a field on our webpage so that people with certain
australian postcodes (say 20 postcodes in a list) are directed to one page
and all others are sent to a page that says another message. Any ideas would
be appreciated. Thanks
 
J

Jens Peter Karlsen[FP-MVP]

Write the postcode, select it with the mouse and press ctrl-k. In the
hyperlink dialog, type the link to the wanted page and press OK.
Repeat as needed and end with a link that say something like "other
Postcodes".

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: davidnewton [mailto:[email protected]]
Posted At: 07. august 2004 01:15
Posted To: microsoft.public.frontpage.client
Conversation: Use postcode to redirect to certain page on site
Subject: Use postcode to redirect to certain page on site


I'd like to create a field on our webpage so that people with certain
australian postcodes (say 20 postcodes in a list) are directed to one
page and all others are sent to a page that says another message. Any
ideas would be appreciated. Thanks
 
D

davidnewton

I don't want the user to see the list of postcode options. Ideally a text box
that they type their postcode into the box and are then taken to the
appropriate page.
Thanks
 
T

Thomas A. Rowe

Then you will need a database with a search function for the postcode to be looked up, and then if
found take the user to the correct page, but you also have decide how to handle postcode that are
not in the database, do you just tell the user to try again or direct them to the closest match.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


davidnewton said:
I don't want the user to see the list of postcode options. Ideally a text box
that they type their postcode into the box and are then taken to the
appropriate page.
Thanks

Jens Peter Karlsen said:
Write the postcode, select it with the mouse and press ctrl-k. In the
hyperlink dialog, type the link to the wanted page and press OK.
Repeat as needed and end with a link that say something like "other
Postcodes".

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: davidnewton [mailto:[email protected]]
Posted At: 07. august 2004 01:15
Posted To: microsoft.public.frontpage.client
Conversation: Use postcode to redirect to certain page on site
Subject: Use postcode to redirect to certain page on site


I'd like to create a field on our webpage so that people with certain
australian postcodes (say 20 postcodes in a list) are directed to one
page and all others are sent to a page that says another message. Any
ideas would be appreciated. Thanks
 
D

davidnewton

Can a database have a result like "If none found then display this page..."

Also how do you link the result to the web page?



Thomas A. Rowe said:
Then you will need a database with a search function for the postcode to be looked up, and then if
found take the user to the correct page, but you also have decide how to handle postcode that are
not in the database, do you just tell the user to try again or direct them to the closest match.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


davidnewton said:
I don't want the user to see the list of postcode options. Ideally a text box
that they type their postcode into the box and are then taken to the
appropriate page.
Thanks

Jens Peter Karlsen said:
Write the postcode, select it with the mouse and press ctrl-k. In the
hyperlink dialog, type the link to the wanted page and press OK.
Repeat as needed and end with a link that say something like "other
Postcodes".

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: davidnewton [mailto:[email protected]]
Posted At: 07. august 2004 01:15
Posted To: microsoft.public.frontpage.client
Conversation: Use postcode to redirect to certain page on site
Subject: Use postcode to redirect to certain page on site


I'd like to create a field on our webpage so that people with certain
australian postcodes (say 20 postcodes in a list) are directed to one
page and all others are sent to a page that says another message. Any
ideas would be appreciated. Thanks
 
T

Thomas A. Rowe

see below

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


davidnewton said:
Can a database have a result like "If none found then display this page..."

Yes, but I am not sure if this has to be hand code or can be done with the FP Database components
Also how do you link the result to the web page?

In your database, you have to have a field for the page name to link to.
Thomas A. Rowe said:
Then you will need a database with a search function for the postcode to be looked up, and then if
found take the user to the correct page, but you also have decide how to handle postcode that are
not in the database, do you just tell the user to try again or direct them to the closest match.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

davidnewton said:
I don't want the user to see the list of postcode options. Ideally a text box
that they type their postcode into the box and are then taken to the
appropriate page.
Thanks

:

Write the postcode, select it with the mouse and press ctrl-k. In the
hyperlink dialog, type the link to the wanted page and press OK.
Repeat as needed and end with a link that say something like "other
Postcodes".

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: davidnewton [mailto:[email protected]]
Posted At: 07. august 2004 01:15
Posted To: microsoft.public.frontpage.client
Conversation: Use postcode to redirect to certain page on site
Subject: Use postcode to redirect to certain page on site


I'd like to create a field on our webpage so that people with certain
australian postcodes (say 20 postcodes in a list) are directed to one
page and all others are sent to a page that says another message. Any
ideas would be appreciated. Thanks
 
Top