← Back to team overview

dhis2-devs team mailing list archive

Re: Offline support for validation rules in Data Entry (aggregate)

 

Oh great ok, glad to hear it's on the table.

Thanks for the response Jim.

On Fri, Jan 26, 2018 at 10:58 AM Jim Grace <jim@xxxxxxxxx> wrote:

> Hi Jasper,
>
> No final decisions have been made, but we are aware of the desire for
> running validation rules in the browser. We are considering doing this when
> we rewrite data entry in the new user interface style, probably not before.
>
> Cheers,
> Jim
>
>
> On Fri, Jan 26, 2018 at 11:24 AM, Jasper Timm <
> jasper.timm@xxxxxxxxxxxxxxxxxx> wrote:
>
>> Any devs care to comment on this?
>>
>> It looks like data is sent server side to run the validation rules at the
>> moment. Would it be possible to cache the rules and run these checks client
>> side for offline support?
>>
>> On Tue, Jan 16, 2018 at 3:16 PM Jasper Timm <
>> jasper.timm@xxxxxxxxxxxxxxxxxx> wrote:
>>
>>> Hi DHIS2 devs,
>>>
>>> In 2.26 it seems when the user is entering data offline and they hit the
>>> 'complete' button, if there are validation rules set which prevent the user
>>> from completing, they are not run whilst offline and the form is completed.
>>>
>>> Are there plans to support this in the future?
>>>
>>> Thanks,
>>>
>>> - Jasper
>>>
>>> --
>>>
>>> *Jasper Timm*
>>>
>>> Lead Software Developer
>>>
>>> *eHealth Africa*
>>>
>>> Mobile +232 99891119 <+23299891119>
>>>
>>> www.ehealthafrica.org
>>>
>>>
>>> <http://www.ehealthafrica.org/>
>>>
>>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
>
> --
> Jim Grace
> Core developer, DHIS 2
> HISP US Inc.
> http://www.dhis2.org <https://www.dhis2.org/>
>

References