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.

asked 10 Feb, 14:11

Questions's gravatar image

Questions ♦♦
40182318
accept rate: 15%


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

link

answered 10 Feb, 14:12

Jeffrey%20-%20SmartyStreets's gravatar image

Jeffrey - SmartyStreets ♦♦
2.2k14
accept rate: 50%

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

link

answered 15 Feb, 11:38

Mike%20-%20SmartyStreets's gravatar image

Mike - SmartyStreets
10.4k3
accept rate: 56%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • 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:

×47
×23
×5

Asked: 10 Feb, 14:11

Seen: 208 times

Last updated: 15 Feb, 11:38