Hey there,
I’m creating an app, where you can send a parcel (courier services).
We operate only in a city center and we want to verify if the address is correct before creating new shipment in shipments database.
I’ve uploaded valid postal codes to a separate data base in format XX-XXX and XXXXX.|
I’m struggling to set up a conditional (or anything), that would:
- display error message, when postal code is not in the zone,
- create a new thing in shipments database, if the code is in the zone.
It would be awesome, if the “Send shipment” button would only be clickable, if the postal code from the input is in the zone.
Any help will be much appreciated!