Questions tagged as 'cep'

1
answer

Set Value in an @ html.DropDownList

In a form for Address Book, I wanted to do the following. the guy types the zip, then fetches the zip, and returns the data to fill in the EditorFor. So good, it's working. City and States are in a separate table, and are displayed by DropDownLi...
asked by 18.11.2016 / 14:33
1
answer

Search Cep in another bank in Laravel 5 [duplicate]

I'm doing a registration system using Laravel 5, I created the client schema, with some tables, such as person, address, email, phone. happens I have another bank, called zip, where it has some tables like street, us, neighborhood, city. I am...
asked by 25.04.2016 / 16:23
0
answers

ViaCep API Validation

I am trying to validate the data not only by the zip code (code described below), I would like to do the other verification, when the client does not know the zip code and finds the same one searching the UF, street and city fields. The api webs...
asked by 15.05.2018 / 06:26
1
answer

Api Location with Zone

I have a base of addresses (street, city, state, zip code, neighborhood) and would need to complete the address with the Zone (East, North, South, West, Center). I thought the easiest way to do it would be by API, this site is perfect to illu...
asked by 05.01.2017 / 19:43
2
answers

Checking a branch nearest to a zip code

I'm working on a multi-branch course system. Within the register I have a zip code field and would like this zip code to find the nearest branch. Is there any API or some way to handle this problem?     
asked by 03.10.2014 / 20:18
0
answers

How to get the full ZIP using GeocodeLocation on Android?

I'm using GPS to return the user's address. Everything works fine, however the returned ZIP code is in the American standard, with 5 digits. Does anyone know any library or any way to get the 8-digit Brazilian standard? public static void getA...
asked by 28.04.2015 / 20:42
2
answers

How to validate a zip using jQuery.validate

I'm not able to validate a zip code that the user has typed. I added the following code inside the jquery.validete.js jQuery.validator.addMethod("cep", function(value, element) { return this.optional(element) || /^[0-9]{2}.[0-9]{3}...
asked by 26.10.2015 / 18:31
1
answer

VIACEP did not find the ZIP code variable to return to the result in PHP

Hello, Only the zip code search to find the city and state works, but the city and state search to find the ZIP code does not work because in JSON, the zip code (% with%) is inside the keys of the numeric class and there is no state-city clas...
asked by 05.04.2018 / 09:12
2
answers

API or database to achieve latitude and longitude

I need to know the latitude and longitude of a location looking for CEP or any other option that I can provide, it can not be Google maps . Does anyone know any API or base de dados ?     
asked by 29.09.2017 / 18:46
0
answers

Error finding zip with jquery via zip

I am developing an edit page where the user data is displayed on the screen. In it, we have a new address button, clicking it opens a modal with the address fields (zip, street, neighborhood etc ), but this modal is formed in jquery by clicking...
asked by 19.10.2018 / 15:02