colemab/SFDC_USPS-Component
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
This is an example component for use on the Salesforce.com platform for validating an address on the lead object against the USPS's e-commerce address standardization API. A great use for this would be on a custom web2lead visual force page. This component uses jquery, jquery ui (with lightness css), and jquery block ui. These libraries are loaded via the CDN's listed below. Please note: you will need to have a valid account with access to the API to use this component. Please note: you will need to add a remote site under security settings so that the component can connect to the post office. For production this will be: http://production.shippingapis.com Links: Blog write-up with example: http://www.forcedisturbances.com/2012/10/vf-component-for-usps-address.html E-Commerice APIs: https://www.usps.com/business/webtools.htm Address Info API: https://www.usps.com/business/webtools-address-information.htm? Web Tools User Guide: https://www.usps.com/webtools/_pdf/Address-Information-v3-1b.pdf Externally referenced resources: http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js http://cachedcommons.org/cache/jquery-blockui/2.3.3/javascripts/jquery-blockui-min.js http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/themes/ui-lightness/jquery-ui.css
About
Component for validating lead addresses with the USPS API
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published