incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject svn commit: r1300729 - /incubator/flex/branches/patches/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
Date Wed, 14 Mar 2012 21:34:06 GMT
Author: jmclean
Date: Wed Mar 14 21:34:06 2012
New Revision: 1300729

URL: http://svn.apache.org/viewvc?rev=1300729&view=rev
Log:
Added suggested formats for Portugal

Modified:
    incubator/flex/branches/patches/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as

Modified: incubator/flex/branches/patches/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
URL: http://svn.apache.org/viewvc/incubator/flex/branches/patches/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as?rev=1300729&r1=1300728&r2=1300729&view=diff
==============================================================================
--- incubator/flex/branches/patches/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
(original)
+++ incubator/flex/branches/patches/projects/apache/src/org/apache/flex/validators/PostCodeValidator.as
Wed Mar 14 21:34:06 2012
@@ -901,6 +901,9 @@ public class PostCodeValidator extends V
             case "NL":
                 formats = [ "NNNN AA" ];
                 break;
+			case "PT":
+				formats = [ "NNNN-NNN", "NNNN NNN", "NNNN" ];
+				break;
             case "RU":
                 formats = [ "NNNNNN" ];
                 break;



Mime
View raw message