It would be realy useful if the user input (state,city) would be validated.

Comments

bdragon’s picture

State is doable. City is not, unless we validate against the geonames webservice or something similar (Which WOULD be cool, but it would have to be optional.)

Florian R’s picture

yes, it should be optional.
There could be two options:

- Validate via webservice (geonames for example)
- Validate via own Server (maybe an extra module)

Do you think that is something what could be in the next rc? Maybe only the validate state thing?

yesct’s picture

Title: validate user input » validate user input (state and/or city)
Status: Active » Postponed
Issue tags: +location validation, +location geonames

this issue:
#226396: City Validation
asks about city validation, kind of.

Also, I think this functionality is kind of far out, so I'll mark this postponed. But if anyone wants to take a stab at implementing it, they can post a patch, and change the status back to active.

I'll tag this validation and also geonames. And I'll try and look for other issues that deal with geonames and tag those too.

ankur’s picture

Status: Postponed » Closed (won't fix)

Closing due to lack of interest. To anyone still interested in this, I would encourage implementing this in a separate module that adds a validation step to any location input using the Forms API. If you happen to implement something, please post it as a separate project and let us know (or let us know so we can add you to the project so you can add your work to this project).