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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Using ResetForm and Na...
Power Apps
Answered

Using ResetForm and Navigate together

(0) ShareShare
ReportReport
Posted on by 111

I have this code that does the navigation and sets this variable in context, but how do I do this navigation and reset the form at the same time?

 

OnSelect:

 

Navigate(CAD_PLANEJAMENTO;ScreenTransition.CoverRight; {varFromData: Defaults(TBL_PLANEJAMENTO)})

 

 

I've tried doing it this way, but it didn't work: 

 

OnSelect:

 

Navigate(CAD_PLANEJAMENTO;ScreenTransition.CoverRight; {varFromData: Defaults(TBL_PLANEJAMENTO)}); ResetForm(form1)

 

 

 

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JasonCastro 

    Please consider changing your Formula to the following:

    Navigate(CAD_PLANEJAMENTO;ScreenTransition.CoverRight; {varFromData: Defaults(TBL_PLANEJAMENTO)});;
    ResetForm(form1)

     

    I hope this is helpful for you.

  • JasonCastro Profile Picture
    111 on at

    Thx!!

    Is there any explanation of why having to use two semicolon? In all videos and tutorials they are using only one semicolon. Thats why im was getting that error.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @JasonCastro 

    The key was that I saw you were separating your parameters in your Navigate with semicolons.  

    This means your region language settings for your designer require you to separate with semicolons.  AND, when that is the language setting, then you need two semicolons to chain functions in a formula.

    You can read more about it here.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard