Start Date and End Date

Hi Team,

Greetings of the day!

Could you please help to achieve on the below thing:

We need to get default today’s date and end date i.e(for example today’s date is 08-06-2020 and the end date should be today’s date + any value like 1,2,3,4,…etc).

Will it be possible?If yes, could you please provide the process.

Hi @msupriya,

Do you mean you wish to design your survey form where you are able to enter today’s date for start date while the end date should (always) be greater then the start date?

Have a great day!

Hi @Kal_Lam

Thanks for the reply

Yes,the start date is today’s date and end date can be equal and greater than to today’s date.

Regards,
Supriya

Hi @msupriya,

You could do the same as outlined in the image below:

In the survey tab of your xlsform:

Data entry screen as seen in Enketo: When making a wrong entry

Data entry screen as seen in Enketo: When making a correct entry (condition 1: today’s date)

Data entry screen as seen in Enketo: When making a correct entry (condition 2: beyond today’s date)

Reference xlsform:
Start & End Date.xlsx (9.6 KB)

Have a great day!

1 Like