← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 14067: Increased shortname lenght in validation

 

------------------------------------------------------------
revno: 14067
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-02-18 12:05:27 +0100
message:
  Increased shortname lenght in validation
modified:
  dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js'
--- dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2014-02-14 14:09:37 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2014-02-18 11:05:27 +0000
@@ -124,7 +124,7 @@
         "shortName" : {
             "required" : true,
             "alphanumericwithbasicpuncspaces" : true,
-            "rangelength" : [ 2, 40 ]
+            "rangelength" : [ 2, 50 ]
         },
         "code" : {
             "alphanumericwithbasicpuncspaces" : true,
@@ -166,7 +166,7 @@
         "shortName" : {
             "required" : true,
             "alphanumericwithbasicpuncspaces" : true,
-            "rangelength" : [ 2, 40 ]
+            "rangelength" : [ 2, 50 ]
         },
         "code" : {
             "alphanumericwithbasicpuncspaces" : true,
@@ -225,7 +225,7 @@
         },
         "shortName" : {
             "required" : true,
-            "rangelength" : [ 2, 40 ],
+            "rangelength" : [ 2, 50 ],
             "alphanumericwithbasicpuncspaces" : true,
             "notOnlyDigits" : true
         },
@@ -279,7 +279,7 @@
         },
         "shortName" : {
             "required" : true,
-            "rangelength" : [ 2, 40 ],
+            "rangelength" : [ 2, 50 ],
             "alphanumericwithbasicpuncspaces" : true,
             "notOnlyDigits" : true
         },
@@ -320,7 +320,7 @@
         },
         "shortName" : {
             "required" : true,
-            "rangelength" : [ 2, 40 ],
+            "rangelength" : [ 2, 50 ],
             "alphanumericwithbasicpuncspaces" : true
         },
         "alternativeName" : {