Date fields on dataset should not show today's date

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

Thank you !

Ramón.

image

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

···

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.

[DHIS2-2564] - Jira [1]

Thank you !
Ramón.

Links:
------
[1] [DHIS2-2564] - Jira

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

--
RAJA IMRAN QAMER,

Senior Software Engineer, Project Manager,
PACE TECHNOLOGIES Pvt Ltd.,
Islamabad, Pakistan.
Email:imran@pace-tech.com, rajaimranqamer@gmail.com
Phone: +923345073573, +92512361110
Web: www.pace-tech.com

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.

image

image

···

2017-11-30 10:43 GMT+01:00 Raja Imran Qamer imran@pace-tech.com:

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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Senior Software Engineer, Project Manager,

PACE TECHNOLOGIES Pvt Ltd.,

Islamabad, Pakistan.

Email:imran@pace-tech.com, rajaimranqamer@gmail.com

Phone: +923345073573, +92512361110

Web: www.pace-tech.com

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,