strido Posted June 3, 2013 Share Posted June 3, 2013 Is there a function whereby my client can input a zip code into a field, and have the result populate the City and State from that zip code? If so, what's the syntax of the rule? Thanks! Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted June 3, 2013 Share Posted June 3, 2013 If you mean a function you can call from a JavaScript rule in FusionPro, then No, there's no function like that. Where exactly is the client inputting the ZIP code? Is this in MarcomCentral? Or some other web-to-print application? There might be something in MarcomCentral which lets you do that; I would ask about that on the MarcomCentral forum. Or, if you're using another web-to-print app, there may be a feature there. If you have your own web application with a web form, you probably want to hook up your application to make a call to a Web Service which can provide you with such information. Your best bet is probably to use the USPS services: https://www.usps.com/business/web-tools-apis/technical-documentation.htm This thread discusses other options: http://stackoverflow.com/questions/6227527/webservice-to-get-city-names-by-giving-zip-codes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.