web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / ValidateField error in...
Finance forum

ValidateField error in PowerApps

(0) ShareShare
ReportReport
Posted on by 80

hello all, 

I am creating a power app with my simple custom table with two fields. 

I have a date field which has been validated only to accept future date inside ValidateField method. 

If date is past date it throws an error "Invalid Date"

As all know, this works fine in D365 FO forms and tables. 

Now, I would like to bring the same error in a power app which i create. Is it possible ? 

If yes, how it is possible. 

Thanks in advance. 

Regards,

Udhay

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: ValidateField error in PowerApps

    Hi Udhay,

    A data entity should also validate the table logic. If this one is not executed correctly, you can also write additional validations on the data entity.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at
    RE: ValidateField error in PowerApps

    Hello Udhay,

    What is it that you want to achieve ultimately with the custom table and the power app?

    Best regards,

    Ludwig

  • v.udhay Profile Picture
    80 on at
    RE: ValidateField error in PowerApps

    Thanks for the reply André. I observed that it is validating the table logic but the validation error from table is not popping out in PowerApp.

  • v.udhay Profile Picture
    80 on at
    RE: ValidateField error in PowerApps

    hello Lufwig,

    I get an error like below, 

    1581.error.JPG

    I would like to show only invalid date error which comes from validatefield method on power app. How to separate it? 

    Regards,

    Udhay

  • André Arnaud de Calavon Profile Picture
    299,576 Super User 2025 Season 2 on at
    RE: ValidateField error in PowerApps

    Hi Udhay,

    Possibly, you can ask this question on the PowerApps forum as this is more related to PowerApps itself. powerusers.microsoft.com/.../PowerApps1

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans