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 / Navigate screen with P...
Power Apps
Answered

Navigate screen with Patch

(0) ShareShare
ReportReport
Posted on by

On my Submit button, I have this code:

 

If(
 IsBlank(txtValue.Text) || IsEmpty(drpValue.Selected.Value),
 Notify("Please fill out all fields marked with asterisk (*)", NotificationType.Error), Patch ({update_here});

 

Where can I put my navigate(successscreen)? I tried adding it after patch but it submits even with errors with the Notify message.

Categories:
  • PTBBSolutions Profile Picture
    691 on at

    It should be after the patch indeed, separated with a ';' and before closing the if bracket. Patch({});Navigate())

  • Verified answer
    WarrenBelz Profile Picture
    156,750 Most Valuable Professional on at

    Hi @biancadevera ,

    Try

    If(
     Len(txtValue.Text)=0,
     Notify(
     "Please fill out all fields marked with asterisk (*)", 
     NotificationType.Error
     ),
     Patch(
     {update_here}
     );
     Navigate(SuccessScreen)
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • biancadevera Profile Picture
    on at

    Will try these

  • biancadevera Profile Picture
    on at

    Hi @WarrenBelz  This worked! Thank you.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard