HomeHome Product Discus... Product Discus...SmithCartSmithCartBilling and Shipping Address - Limit Countries to Canada and US and donBilling and Shipping Address - Limit Countries to Canada and US and don't allow PO Box
Previous
 
Next
New Post
5/5/2011 2:43 PM
 

We would like to limit the Country Drop Down List to the: United States and Canada.   What would be the easiest way to accomplish this?

We are also using UPS for Shipping and want to ensure that a PO Box cannot be entered into any of the address fields.  Is there a way to add a regular expression validator to the design part of the code.  Again what would be the easiest way to accomplish this.

Smith Cart 4.28 

DNN 5.6.2

SQL Express 2008R2

 
New Post
5/9/2011 1:06 PM
 
1) Edit your country tables and take out the countries you don't want to appear.
2) Yes... you could do that with a regex in the ascx page; keep in mind you would want to filter for PO, P.O., P. O. and so forth....

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartBilling and Shipping Address - Limit Countries to Canada and US and donBilling and Shipping Address - Limit Countries to Canada and US and don't allow PO Box