|
We are looking at your product, and I was wondering, after the validation happens in the javascript, does it automatically update the controls on the webpage? I would also like to see a c# example of this if you have one as well. |
|
The javascript 'plugin' implementation does automatically update the form fields with the validated address data. If you'd like to use C# for your API calls you'll need to use the REST endpoint or the deprecated XML Web Service (which we strongly discourage as it will not be around for much longer). Here are a few samples: REST API: https://github.com/smartystreets/LiveAddressSamples/blob/master/c-sharp/street-address.cs XML Web Service: https://github.com/smartystreets/LiveAddressSamples/blob/master/c-sharp/deprecated/xml_batch_example.cs |
|
FYI, I've just posted a new sample on the sample code repository on github. It uses a jQuery UI dialog and jQuery templates to display address suggestions from the REST API. In this sample you decide what happens with the selected results. It's pretty simplistic but it shows that the sky is the limit as far as what you can do with the REST API. https://github.com/smartystreets/LiveAddressSamples/blob/master/jQuery/ui.html |
Follow this question
By Email:Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
- *italic* or _italic_
- **bold** or __bold__
- link:[text](http://url.com/ "title")
- image?
- numbered list: 1. Foo 2. Bar
- to add a line break simply add two spaces to where you would like the new line to be.
- basic HTML tags are also supported
Tags:
Asked: 10 Feb, 14:11
Seen: 208 times
Last updated: 15 Feb, 11:38