← Back to team overview

dhis2-devs team mailing list archive

Single digit numbers cannot be used as Options for Option Sets

 

Hi devs,

DHIS2 prohibits you from adding single-digit numbers as Options for Option
Sets, irrespective of whether the Option Set has a Value Type of "Positive
Integer", "Positive or Zero Integer", "Number" or Text. Hence the numbers
1-9 cannot be used as Options.

Is there a reason for this?

As a work-around I tried using 01-09, but get the error message "Value must
be a [positive] integer", except for the Option Sets with value type "Text"
for which it was successfully added. This is not optimal though as
calculations cannot be done with text fields.

-- 

Regards,
Crizelle Nel

[image: HISP_Logo_sm]
Software Development and Information Systems


*Health Information Systems Program (HISP) -
SA------------------------------------------------------------------------------*
Email:       crizelle@xxxxxxxx <crizellenel@xxxxxxxxx>
Cell:          +27 84 580 3342
Fax:          0866 509 502
Skype:      crizelle_nel
Website:   http://www.hisp.org

66 Rigel Avenue North, Waterkloof Ridge
Pretoria, 0181, South Africa
E -25.7847787 S 28.2347984

PNG image


Follow ups