← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18510: Validation, minor

 

------------------------------------------------------------
revno: 18510
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-03-06 16:02:18 +0100
message:
  Validation, minor
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	2015-01-09 12:55:21 +0000
+++ dhis-2/dhis-web/dhis-web-commons-resources/src/main/webapp/dhis-web-commons/javascripts/validationRules.js	2015-03-06 15:02:18 +0000
@@ -158,7 +158,7 @@
         "name" : {
             "required" : true,
             "alphanumericwithbasicpuncspaces" : true,
-            "rangelength" : [ 2, 150 ]
+            "rangelength" : [ 2, 160 ]
         },
         "shortName" : {
             "required" : true,
@@ -216,7 +216,7 @@
     "dataElement" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 150 ],
+            "rangelength" : [ 2, 160 ],
             "alphanumericwithbasicpuncspaces" : true,
             "notOnlyDigits" : true
         },
@@ -226,18 +226,13 @@
             "alphanumericwithbasicpuncspaces" : true,
             "notOnlyDigits" : true
         },
-        "alternativeName" : {
-            "rangelength" : [ 2, 150 ],
-            "alphanumericwithbasicpuncspaces" : true,
-            "notOnlyDigits" : true
-        },
         "code" : {
             "rangelength" : [ 0, 50 ],
             "alphanumericwithbasicpuncspaces" : true,
             "notOnlyDigits" : false
         },
         "formName" : {
-            "rangelength" : [ 2, 150 ],
+            "rangelength" : [ 2, 160 ],
             "alphanumericwithbasicpuncspaces" : false,
             "notOnlyDigits" : false
         },
@@ -292,7 +287,7 @@
     "indicator" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 150 ],
+            "rangelength" : [ 2, 160 ],
             "alphanumericwithbasicpuncspaces" : true,
             "nostartwhitespace" : true
         },
@@ -301,10 +296,6 @@
             "rangelength" : [ 2, 50 ],
             "alphanumericwithbasicpuncspaces" : true
         },
-        "alternativeName" : {
-            "rangelength" : [ 2, 150 ],
-            "alphanumericwithbasicpuncspaces" : true
-        },
         "code" : {
             "rangelength" : [ 0, 50 ],
             "alphanumericwithbasicpuncspaces" : true,
@@ -337,7 +328,7 @@
     "indicatorType" : {
         "name" : {
             "required" : true,
-            "rangelength" : [ 2, 150 ],
+            "rangelength" : [ 2, 160 ],
             "alphanumericwithbasicpuncspaces" : true
         },
         "factor" : {