← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Error message - Value must be a number.:

 

Hey Timothy,

If you really feel that we should improve this feel free to create an
"Improvement" issue for "[App] Event Capture" in our Jira. (
https://jira.dhis2.org)

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

> 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
>>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Regards,


Mark Polak
Software developer, DHIS 2
University of Oslo
http://www.dhis2.org <https://www.dhis2.org/>
mark@xxxxxxxxx