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
UK Post Codes Lookup & Form Speed
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?
March 18, 2019 at 6:56 am
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.
March 18, 2019 at 8:03 am
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.