Validate date

Hi,

I work in a NGO and I use ODK, and the problem is, I need to validate date, the form in ODK must only recive date major than 04/01/2019.

I try put in the field constraint this:

  • . >= (04/01/2019)
  • . >= '15/01/2019'
  • . >= date('15/01/2019')

but it not work :frowning:

@yanokwa I see you're one of the best in ODK, can you help me? please.

Postdate: my English is not the best, sorry for this.

Welcome to the ODK forum, @Samuel_Pineros ! We're glad you're here. When you get a chance, please introduce yourself on this forum thread. I'd also encourage you to add a real picture as your avatar because it helps build community!

. >= date('2019-01-04') is the correct format.

2 Likes

@aurdipas thanks for the welcome and for the help, it work !!!! :smiley:

2 Likes