Validate if Date field is not empty

I have a DOB date field and want to enable submit button for the form only when this field is not empty. If I use ISEMPTY(), it seems to work but get an error in studio as below

Incorrect type: expected one of NULL, datetime, email, list, object, phone, text but got date

App / … / Submit / disabled

Is there a different function to validate this, Please help.

Thank You,
Sasi

hey @isas88 ! you can always use

myDateVar = NULL

Instead of

ISEMPTY(myDateVar)

Or

myDateVar != NULL

Instead of

ISNOTEMPTY(myDateVar)

Hope this helps!

1 Like