How can I do date entry validation using the expression option?

Options
Greg_703914
Greg_703914 Posts: 42
edited August 2020 in Questions

I would like to make sure certain dates provided by the user are in line with each other. For example my final follow up date should be after my first follow up date. See image below. How can I accomplish this? My existing expression is not working.
 
 


 
 

Answers

  • Jozef_783863
    Jozef_783863 Posts: 331 admin
    edited August 2020
    Options

    @Greg_703914 This is the field expression that should work for this date validation:

    DateTime(this) > DateTime(fields["first-date"])

    This date expression and field reference is currently not working together as expected. We have this issue documented for further review and we will follow-up once addressed.

  • Greg_703914
    Greg_703914 Posts: 42
    edited August 2020
    Options

    @Jozef_783863 Thank you for letting me know

  • Lucas_156486
    Options

    Hi, Jozef.
    I just tried to use your suggestion and it still does not work. Do you have any updates if it's going to be available anytime soon?