Salil Gaikwad wrote: > I want to validate that zip code entered by user is valid or not. > > for example user entered 009876654 and it is not valid then an error > message should be given. > > I know i can do it using javascript regulr expression or using > ajax-zip-code-database > > But i don't want any of the above. i need some plugin sort of thing > which send request to some online application to check wheather it is > valid or not.I want this because i don't want to take care if in future > there is change in the zip-codes or new zip-codes get added.
The United States Postal Service has APIs for this, but you must first ask permission. http://www.usps.com/webtools/webtoolsapirequestform.htm -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

