Jump to content

Postcode search

Recommended Posts

We are looking to add a search box where a customer would enter a postcode and it would perform a look up for a post code in a spreadsheet or something. if found a box would appear saying congratulations we have you covered and a button for us to then take details. if not found then it says we are coming to you soon!. which is the best way with limited knowledge.

 

thanks in advance.

Al

Link to comment
  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

6 minutes ago, alanscully123 said:

We are looking to add a search box where a customer would enter a postcode and it would perform a look up for a post code

Please take a look at my post here and see if this helps to get you started:

Did this help? Please give feedback by clicking an icon below  ⬇️

About me: I'm Paul, a SQSP user for over 18 yrs and a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji below. Buying a coffee is optional.

Book paid help with domains: Connect a GoDaddy domain. Connect a Squarespace Domain. Domain assistance

Link to comment

That was great and worked to an extent. I written the html code that works perfectly but only in a browser. ie save the html code to a notepad file then open in chrome.....works great.

When i try and upload it to a page as <code> I think its too many lines as the amount of postcodes lines of  223496 and 3 million characters lol  of them to be exact and  it says error 400. I have hosted the file in google drive and then embedded it to  the page using the google drive link. it says its located the file and get the code error.

 

Can anyone help?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.