← Back to team overview

dhis2-users team mailing list archive

Re: Date fields on dataset should not show today's date

 

Dear Raja,

Thank you for your workaround proposal. I was convinced when I read it but
now I've realized I don't know how diferenciate real dates from fakes one.

We could be based the script on date value (of today) but it will fails if
the user really store the date of today.

Thank you for ideas !
Ramón Jimenez.

2017-11-30 10:43 GMT+01:00 Raja Imran Qamer <imran@xxxxxxxxxxxxx>:

> On 2017-11-30 14:15, Ramón José Jiménez Pomareta wrote:
>
>> Hello,
>>
>> In data entry app, when no data is stored, it shows today's date,
>> making you think the data of today is actually stored in the system.
>>
>> See attached photo to see the issue.
>>
>> https://jira.dhis2.org/browse/DHIS2-2564 [1]
>>
>> Thank you !
>> Ramón.
>>
>> Links:
>> ------
>> [1] https://jira.dhis2.org/browse/DHIS2-2564
>>
>> _______________________________________________
>> 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
>>
>
> Dear Ramón,
> You can easily make it empty by default using class,
> Add a class in all date dataelements when you design your form.
> Now add javascript for specific class which will make it empty.
>
> Regards
> --
> RAJA IMRAN QAMER,
>
>> Senior Software Engineer, Project Manager,
>> PACE TECHNOLOGIES Pvt Ltd.,
>> Islamabad, Pakistan.
>> Email:imran@xxxxxxxxxxxxx, rajaimranqamer@xxxxxxxxx
>> Phone: +923345073573, +92512361110
>> Web: www.pace-tech.com
>>
>

Attachment: fakeDate.png
Description: PNG image

Attachment: realDate.png
Description: PNG image


References