We would like to set the default date in a date question. I have tried
entering “date(‘1901-01-01’)” to the default-data-value field. It is not
accepting. What should be the method that I should follow?
The help-document on the CommCare mentions about a “calculate field” (under
logic properties) that I could use for this. I cannot locate the calculate
field in it. I tried it on the calculate field (of hidden value) & then
tried and it was not working as well.
You should just be able to enter the date directly into the date question,
in the format YYYY-MM-DD. So in the default data value, you can just type
1990-01-01 for example.
Thanks,
Sheel
···
On Mon, Sep 1, 2014 at 1:19 PM, Jeffrey Jose wrote:
Hi
We would like to set the default date in a date question. I have tried
entering “date(‘1901-01-01’)” to the default-data-value field. It is not
accepting. What should be the method that I should follow?
The help-document on the CommCare mentions about a “calculate field”
(under logic properties) that I could use for this. I cannot locate the
calculate field in it. I tried it on the calculate field (of hidden value)
& then tried and it was not working as well.