The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

UK Post Codes Lookup & Form Speed

Labels

This Discussion is public

Notifications

I have a field called PostCode and I'd like people in the UK to quickly select theirs.

BUT I'm very worried it's going to slow down my form.

https://www.doogal.co.uk/PostcodeDownloads.php

You'll see it's an 86MB csv.

Any ideas on how best to do this so it doesn't slow people down or the form down with a large lookup?

I would use the Google address API. It's fairly easy to implement and works well with Formidable: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-addressform

Using the API provides consistency with address formatting so you won't encounter spelling errors and the like.

Thanks for the pro tip! That's super neat.

Do you have any more info on how it implements with Formidable?

Where would I put that code?
Can you limit it to only postcodes within a country? (It seems the maps are worldwide)

 

Discussion closed.