相关文章推荐

Hi dears,
H hope this message finds you well.
is there any way to make the data entry able to change on the selected date (in the date box)
like if he doesn’t have the full date so he can delete the MM/DD and keep only the YYYY.
thank you.

Hello,
A workaround might be to fix a rule for the enumerators/users, like: If day unknown, enter 01 (or 15). If month unknown, enter June,

Update: Or you could use 3 separate integer filelds and calculate your date type variable. (Still you would need to decide how you replace missing parts. And you will need (complex) constraints to control against invalid date part, e.g. 31.02.)

@aqutysh , maybe you could do it as outlined in the image shared below:

In the survey tab of your xlsform: Image 1 763×150 5.34 KB In the choices tab of your xlsform: Data entry screen as seen in Enketo: when the entered date is correct Image 3 658×585 10.3 KB Data entry screen as seen in Enketo: when the entered date is wrong/incomplete Image 4 657×644 12.2 KB Reference xlsform:

Date.xlsx (18.9 KB)

 
推荐文章