← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 612866] [NEW] Can't name dael, dael-group, dataset, ind in Vietnamese characters

 

Why not numbers?

On Aug 3, 2010 12:05 PM, "jason.p.pickering" <612866@xxxxxxxxxxxxxxxxxx>
wrote:

OK, just as a test, I changed it to this..

return this.optional(element) || !(/[\d+!#&]$/i.test(value));

So, i do NOT want anything with numbers, pluses, exclamation marks,
hashes or amperstands. Forgot to add double spaces..anyway. I guess
there are probably more characters to be excluded.

I was able to store the data element name sans problem.

Might be a work around. That JavaScript library might have license
issues (MIT).

Maybe try server side validation and see where you get.

Regards,
Jason


On Tue, Aug 3, 2010 at 2:39 PM, Jason Pickering

<jason.p.pickering@xxxxxxxxx> wrote:
> Another option would be perhaps to try exclude what we do NOT...

-- 
Can't name dael, dael-group, dataset, ind in Vietnamese characters
https://bugs.launchpad.net/bugs/612866
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.

Status in DHIS 2 - District Health Information Software: New

Bug description:
based on the latest DHIS2 source-code on Aug 3rd 2010
It's impossible to name a dael, dael-group, dataset, ind... with Unicode characters
(currently can use/borrow TRANSLATE function of dael, dael-group, dataset,... to name them in Unicode characters instead)





Follow ups

References