← Back to team overview

dhis2-users team mailing list archive

Re: Error message - Value must be a number.:

 

Dear all,

I now realize that this error message comes up for variables declared as
integer / Positive integer / Positive or Zero integer. It does not happen
if a variable is declared as a number. I think the integer data type is
declared in code as required. I think it would be best if error messages
are not flagged for integer data types as well if one leaves the field
blank on data entry.

Timothy

On Sat, Feb 18, 2017 at 5:27 PM, Timothy Kiyemba <tkiyemba@xxxxxxxxx> wrote:

> Dear all,
>
> Has someone experienced this? When I try to save my data entry form (event
> program without registration), it shows error messages for all my number
> fields "Value must be a number.:", particularly those I have left blank.
> Is this a bug? I have not declared any of these variables as mandatory but
> this error message shows up for all my number variables whenever I am
> saving. How can I go round this?
>
> Timothy
>

Follow ups

References