Results 1 to 2 of 2

Thread: Input from form changes URL

  1. #1
    SLJ90 Guest

    Input from form changes URL

    Hello, I am trying to make a page with a text box in where the user enters their post code and hits 'Submit' then it loads an embeded google maps map.

    with the following code:

    HTML Code:
    <iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=gym+**POSTCODE**&amp;sll=37.0625,-95.677068&amp;sspn=30.461748,86.572266&amp;ie=UTF8&amp;hq=gym&amp;hnear=**POSTCODE**,+United+Kingdom&amp;output=embed"></iframe><br /><small><a href="http://www.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=gym+**POSTCODE**&amp;sll=37.0625,-95.677068&amp;sspn=30.461748,86.572266&amp;ie=UTF8&amp;hq=gym&amp;hnear=**POSTCODE**,+United+Kingdom" style="color:#0000FF;text-align:left">View Larger Map</a>
    I have typed **POSTCODE** where the user input needs to go.. Any ideas how this could be done? Thanks

  2. #2
    Join Date
    Apr 2009
    Location
    The toon
    Posts
    1,225
    If you are in the UK the Post Office own Post Code data and they provide a flat file which is chargeable

    Its not cheap

    If you want to progress then you will need this data file

Similar Threads

  1. Input from form changes URL
    By SLJ90 in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 14 Nov 2010, 09:26 PM
  2. Form input from URL parameters
    By Sargon in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 07 May 2008, 04:22 AM
  3. display form input in another page
    By ketanco in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 14 Apr 2008, 12:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •