Saturday, September 26, 2020

Re: Auto prompting City and State using ZIP code in Members Registration Form

Hi Ram,

You have to save City and State in your database linked in State >> City >> Region(with zipcode) manner. Now create a get request API which requires zipcode as input and return city and state to fill automatically.


On Saturday, September 26, 2020 at 11:58:34 AM UTC+5:30 ram.mu...@gmail.com wrote:
Hi,

We are trying to use USPS API to get City and State attributes by passing ZIP code. API is working fine, but we need to use this API in our members registration form, where user enters ZIP code, then City and State should be auto filled in respective fields. This way user does not have to type City and State manually.

We would like to know what is the easiest and quicker way to achieve this in Django or other type web forms.

Thanks in advance,
~Ram


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/fe6e1025-a2fd-4108-a2e8-32c4ce47033fn%40googlegroups.com.

No comments:

Post a Comment