Hi Murod, You can check out this blueprint regarding flexible regex validation. We have had a lot of discussion about this.
https://blueprints.launchpad.net/dhis2/+spec/regex-validation I developed the blueprint in part from things that came up in Tajikistan while I was there, as well as from other places where the need for flexible in-field validation is required. It is a good point regarding the Cyrillic characters, where validation would likely need to happen on the server side, since Javascript is not well suited to validation of Unicode. Agree with the orgunit translation as well. See... https://blueprints.launchpad.net/dhis2/+spec/orgunit-translation https://bugs.launchpad.net/dhis2/+bug/519175 Please see Lars response here.. http://www.mail-archive.com/[email protected]/msg04512.html Regards, Jason On Thu, Jan 13, 2011 at 1:21 PM, Murodullo Latifov <[email protected]>wrote: > Hi all, > > There are some issues I am facing with implementation. First OrgUnit is no > more localized as was earlier. Maybe this is good for some implementation, > but not to all, like we have multi language requirement here in Tajikistan. > New implementation of categorycombos does not have translation > functionality. > Another issue is use of validation rules for data entry using regex. > Existing regex for shortname does not validate cyrillyc letters (unicode), > latin chars (ANSI) are ok. > Looking at these two issues I suggest to create some sort of common service > wich accesses key/value pairs and that is used to determine behaviour of the > system or module. For above examples we could use global property of > translate OrgUnit or not. Or we could easily adjust regex to match our > needs. > > > regards, > murod > > > _______________________________________________ > Mailing list: > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> > More help : https://help.launchpad.net/ListHelp > > -- Jason P. Pickering email: [email protected] tel:+260968395190
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

