|
|
 
|
Web Lookup : Online Manual:
|
Contents:
Tutorial
Video : Tell me how to do this
If
you want web integration, we strongly recommend you look at
the PHP Web Pop-up integration, which will run on most
servers. It is quick and easy to add Postcode lookup to
any web page, it uses DHTML so is not stopped by pop-up blockers.
[Click here for more PHP DHTML Web Pop-up
information]
|
Simple to add to your page:
|
 |
Simply open an
account
|
 |
From our web site,
login, select "Buttons" tab in your account, then create a button to add to your web page.
This generates a small java script to add to your page. |
 |
Copy this code into your web page where you want
the find button to appear
|
 |
Publish your web page
|
 |
Simply go to page on web and enter tags (Line1,
Line2... Town, City, PostCode) in your address fields
|
 |
Press the search button for the first time.
|
 |
Our sever will read your page and
automatically map the address
fields to our Postcode search window
|
 |
Now
select settings as described below
|
 |
Press
[Finish] button when finished
|
 |
Refresh your page and you should
have an Address lookup button
|
|

|
Adding
Postcode lookup to a web page |
 |
Test
with free credits |
 |
Buy Credits |
 |
To go back into setup,
simply enter "SETUP" in search, then enter password. |
|
Tip : Use postcode "ZZ99" to test without using
credits |
|
Set-up Wizard:
|
Tutorial
Video : Tell me how to do this
After adding the java script, created using our web
site, to your page. Publish the page and our set-up button should be
visible:

Press this button which will open a set-up wizard, which will first ask
for your password. Having entered your password, we will see the
"Window Settings" page of the wizard:

| Options |
Explanation |
| Window title |
This title will appear at the top of the search window |
| Button Text |
The text will appear on button, unless an Image is
specified |
| Image URL |
The URL of Image you want to display instead of button
http://www.myweb/graphics/LogoCar.gif
|
| Restrict to URL |
Here you can enter part of your URL. Our system
will filter out any URL which does not contain the string entered
here, this stops other sites using you lookup credits |
| Ghost Page |
See trouble shooting section |
| Options |
Explanation |
| Type of license |
From here you can select the appropriate
license you want to use the HTML Pop-up for.
“Internal” - License are
applicable when using address data for internal company use (used by
an employee of a company).
Note Cookies must be enabled on each web browser used, else
the user count cannot be maintained.
“Web” - License are for use with
public facing web sites
"Full"
-
The user enters a postcode and is presented with a list of
properties referenced by the postcode.
"Street" -
Returns partial address from Postcode.
The user enters the premises name/number. This is
cheaper than FULL address but not so convenient since the user has
to type the Name or number of building.
If in doubt either
contact us (stating you exact requirements) or read our
terms and conditions |

| Options |
Explanation |
|
Your Field
Company...Country |
In here you can select the field on your
page where you want the address data entering.
Note: Line 3 often does not contain data, you only need map the
fields you need. |
| After |
If your web page has fields which you want more than
one line of the address mapping to, then use this field to specify
how these fields will be separated. Options are ",
" or New Line |
| Options |
Explanation |
|
Postcode |
If your page contains a
"Country" selector pull-down, then enter the Text which
matches that of your Country" selector. |
| Get Postcode from Web Page |
If ticked the search button will extract the Postcode from your web page and perform search when
opened. If not then waits for use to enter Postcode. |
|
Does it work with secure pages?:
|
Yes, simply replace "http" with "https" in the JavaScript.
|
How do I enter setup again?:
|
- Simple activate the "Find Pop-up" window
- Enter "SETUP" in Zip/Postcode entry box.
- Press [Find].
- Enter your password
- Press [OK] button
- Now refresh your calling page [F5]
- Now find button has changed to "Setup" button, press "Setup" and enter password again
- Step through the set-up wizard
|
I get an error after performing a lookup:
|
Due to security restrictions imposed by web browsers, fields on a
web page can only be updated from the same web domain. The Address
Lookup popup, after successful address selection, must:
-
Change the Popup web page to your own web page, which it does
by
displaying the same page it was called from.
-
Then call our Java script, which is embedded, to update the parent page.
-
This script then updates the mapped fields on the calling (parent) web
page. i.e. the one the user started on.
-
Close the pop-up window.

Configuration without Ghost Page
To the user it will simply seem as if the address is written back to
the original page they started on, they probably will not notice this
going on in the background.
If after selecting the address the popup page gives an error, or performance
is low, then we simply add a basic page, which is used instead for the
calling page, to process the update of the address fields.
- Create a dummy page on your web site, which is blank, but contains the
same button code as the calling page. Call it GhostPage1.html, for
example:
New page called:GhostPage1.html
HTML Code:
<html>
<body>
<!-- The same JAVA script as calling page -->
<SCRIPT LANGUAGE ....></SCRIPT>
</body>
</html>
-
Then Enter the button set-up wizard again
-
Enter "GhostPage1.html" in "Ghost Page" setting on
first page of wizard. Now step through wizard and finally press
[Finish] button to commit changes
-
Refresh calling page (f5)
-
Try again

Configuration
with Ghost Page
Important:
The Ghost page must be in the same directory as the calling page. If
you are using secure pages, make sure the Ghost page is secure too, and that
the simply JavaScript has "http" replaced with
"https".
|
|
Some times the browser can get confused and open multiple browser windows
when writing back the address information. To resolve this issue
enter
<base
target="_self">
in the <head> section of your ghost page.
|
|
|
|
Postcode Lookup Software © ComTek Accounts
2005 Internet Postcode
Address Lookup Software
PAF
Postcode Address Lookup Software for Web Sites
PAF
Postcode Address Lookup Software using .NET and SOAP Services
COM
Object for PAF Postcode Address Lookup Software
PAF
Postcode Address Lookup Software Desktop Application Manual
PAF
Postcode Address Lookup using HTTP to request XML data
PAF
Postcode Address Lookup Software Troubleshooting
PAF
Postcode Address Lookup Software WEB Troubleshooting
Terms
and Conditions
Home
Page
|
|