[Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-06-01 Thread Lars Helge Øverland
This is a feature request, not a bug.

** Changed in: dhis2
   Status: Confirmed => Invalid

** Changed in: dhis2
 Assignee: Morten Olav Hansen (mortenoh) => (unassigned)

** Changed in: dhis2
Milestone: 2.3 => None

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Invalid

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-05-22 Thread Hieu Duy Dang
Hi everyone,

Sorry Lars, may I reopen this discussion thread again? Just saying quickly
not too much.

My idea for Regex Validation blueprint is that. Why don't we take advantage
of the i18n_XXX.properties as currently. Says other words, we will develop a
library/resource files as same as the properties file which is being used in
DHIS2 for storing the value of regex of each property such as "name",
"shortname", "phone number", etc...

The construction of key regex would be liked *regex.nameproperty *= *
value_of_regex*.

For example at validation for the name of excel file like:

regex.name   = [a-zA-Z][\\w\\s\\d.]{5,50}\\.xl(?:sx|s)

Thanks.

-- 
Good heath !

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Confirmed

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-05-19 Thread Lars Helge Øverland
Lets leave this out for now.

On Thu, May 19, 2011 at 5:12 PM, Bob Jolliffe 
wrote:

> Requirements will vary widely across countries.  The best one could do is
> maybe a (optional) system setting regex but these are not very user
> friendly
> by their nature.
>
> On 19 May 2011 15:59, Morten Olav Hansen  wrote:
>
> > Any more comments here? validation of phone numbers is a minefield.
> > Should this be a system setting? What are the requirements for a phone
> > number?
> >
> > --
> > You received this bug notification because you are a member of DHIS 2
> > India Developers, which is subscribed to DHIS.
> > https://bugs.launchpad.net/bugs/704973
> >
> > Title:
> >  There must be some validations for Phone Number field in User and
> >  Organisationunit module
> >
> > Status in DHIS 2 - District Health Information Software:
> >   Confirmed
> >
> > Bug description:
> >  There must be some validations for Phone Number field in User and
> >  OrganisationUnit module, Special characters can also be used for Phone
> >  Number.
> >
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/704973
>
> Title:
>  There must be some validations for Phone Number field in User and
>  Organisationunit module
>
> Status in DHIS 2 - District Health Information Software:
>  Confirmed
>
> Bug description:
>  There must be some validations for Phone Number field in User and
>  OrganisationUnit module, Special characters can also be used for Phone
>  Number.
>

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Confirmed

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-05-19 Thread Knut Staring
I think the ideal would be for RegEx experts to design multiple validation
rules (on demand) as a accessible library (including easy to read
labels/documentation) from which a super user could choose. This goes for
many other fields as well. In other words, validation rules could be a part
of the settings page, where super users have access to a shared library of
rules.

However enabling something like that might require so much machinery as to
not really be worth the effort.

On Thu, May 19, 2011 at 5:12 PM, Bob Jolliffe 
wrote:

> Requirements will vary widely across countries.  The best one could do is
> maybe a (optional) system setting regex but these are not very user
> friendly
> by their nature.
>
> On 19 May 2011 15:59, Morten Olav Hansen  wrote:
>
> > Any more comments here? validation of phone numbers is a minefield.
> > Should this be a system setting? What are the requirements for a phone
> > number?
> >
> > --
> > You received this bug notification because you are a member of DHIS 2
> > India Developers, which is subscribed to DHIS.
> > https://bugs.launchpad.net/bugs/704973
> >
> > Title:
> >  There must be some validations for Phone Number field in User and
> >  Organisationunit module
> >
> > Status in DHIS 2 - District Health Information Software:
> >   Confirmed
> >
> > Bug description:
> >  There must be some validations for Phone Number field in User and
> >  OrganisationUnit module, Special characters can also be used for Phone
> >  Number.
> >
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/704973
>
> Title:
>  There must be some validations for Phone Number field in User and
>  Organisationunit module
>
> Status in DHIS 2 - District Health Information Software:
>  Confirmed
>
> Bug description:
>  There must be some validations for Phone Number field in User and
>  OrganisationUnit module, Special characters can also be used for Phone
>  Number.
>


-- 
Cheers,
Knut Staring

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Confirmed

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-05-19 Thread Bob Jolliffe
Requirements will vary widely across countries.  The best one could do is
maybe a (optional) system setting regex but these are not very user friendly
by their nature.

On 19 May 2011 15:59, Morten Olav Hansen  wrote:

> Any more comments here? validation of phone numbers is a minefield.
> Should this be a system setting? What are the requirements for a phone
> number?
>
> --
> You received this bug notification because you are a member of DHIS 2
> India Developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/704973
>
> Title:
>  There must be some validations for Phone Number field in User and
>  Organisationunit module
>
> Status in DHIS 2 - District Health Information Software:
>   Confirmed
>
> Bug description:
>  There must be some validations for Phone Number field in User and
>  OrganisationUnit module, Special characters can also be used for Phone
>  Number.
>

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Confirmed

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-05-19 Thread Morten Olav Hansen
Any more comments here? validation of phone numbers is a minefield.
Should this be a system setting? What are the requirements for a phone
number?

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Confirmed

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] [Bug 704973] Re: There must be some validations for Phone Number field in User and Organisationunit module

2011-03-29 Thread Lars Helge Øverland
** Changed in: dhis2
Milestone: None => 2.3

** Changed in: dhis2
 Assignee: (unassigned) => Morten Olav Hansen (mortenoh)

** Changed in: dhis2
   Importance: Undecided => Low

** Changed in: dhis2
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/704973

Title:
  There must be some validations for Phone Number field in User and
  Organisationunit module

Status in DHIS 2 - District Health Information Software:
  Confirmed

Bug description:
  There must be some validations for Phone Number field in User and
  OrganisationUnit module, Special characters can also be used for Phone
  Number.

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp