Hey,
I've got a database table with following data:
PostalCode - City - Province - Country
1000 - Brussels - Brabant - Belgium
2000 - Antwerp - Antwerp - Belgium
9000 - Ghent - Oost-Vlaanderen - Belgium
9890 - Asper - Oost-Vlaanderen - Belgium
9890 - Baaigem - Oost-Vlaanderen - Belgium
I would like to create a contact form where people just need to typ (select?) the postal code, and the rest should be autofill.
So if I typ in 9000, this should be the result:
Postal: 9000
City: Ghent
Province: Oost-Vlaanderen
Country: Belgium
What's the best way to do this?
I was playing around with the db-read, and I've got a nicely dropdown list of all my postals.
And with the example of the demo-dynamic-dropdown, I'm able to match 1000 with Brussels, manually.
But i'm a bit stick to search the cities in the database...
I've got a database table with following data:
PostalCode - City - Province - Country
1000 - Brussels - Brabant - Belgium
2000 - Antwerp - Antwerp - Belgium
9000 - Ghent - Oost-Vlaanderen - Belgium
9890 - Asper - Oost-Vlaanderen - Belgium
9890 - Baaigem - Oost-Vlaanderen - Belgium
I would like to create a contact form where people just need to typ (select?) the postal code, and the rest should be autofill.
So if I typ in 9000, this should be the result:
Postal: 9000
City: Ghent
Province: Oost-Vlaanderen
Country: Belgium
What's the best way to do this?
I was playing around with the db-read, and I've got a nicely dropdown list of all my postals.
And with the example of the demo-dynamic-dropdown, I'm able to match 1000 with Brussels, manually.
But i'm a bit stick to search the cities in the database...