When an external user enter an address on the form need to validate the address with usps

Community Alums
Not applicable

How to validate the address with USPS while submitting the form

2 REPLIES 2

The Machine
Kilo Sage

If its on a catalog item or record producer.  You need a client script that does a GlideAjax call to a Script Include that makes a REST call to your USPS endpoint to return whether or not the address is valid, usually you can do this by adding a field message to that variable and then clearing the value to force them to re-enter it.

Hope that helps.  Good luck 🙂 

Community Alums
Not applicable

Its a record producer. Can you help me out with the client and server side script