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 / Submit form notify or ...
Power Apps
Answered

Submit form notify or launch

(0) ShareShare
ReportReport
Posted on by 73

Hi I've got a sharepoint form and though a submit button added within powerapps I'm trying to generate a notification in the banner if any of my mandatory fields are blank or launch to a new page if their all filled out and the form is actualy submitted. This is what I've got (which doesn't throw up any formula errors but doesn't actually do anything:

 

SubmitForm(SharePointForm1);

'Live-UpdateTracker'.Run(SharePointForm1.LastSubmit.ID);

If(Or(IsBlank(DataCardValue2.SelectedItems),IsBlank(DataCardValue2.SelectedItems),IsBlank(DataCardValue3.SelectedDate),IsBlank(DataCardValue4.SelectedItems),IsBlank(DataCardValue6.Text),IsBlank(DataCardValue12.Text),IsBlank(DataCardValue13.Text),IsBlank(DataCardValue14.Text),IsBlank(DataCardValue15.SelectedItems)),
 Notify("The Required field could not be blank, please provide a value for it", NotificationType.Error),Launch("...address.......",{},LaunchTarget.Replace))

 

Can anyone point out where I've gone wrong? Cheers

Categories:
I have the same question (0)
  • Verified answer
    timl Profile Picture
    36,634 Super User 2026 Season 1 on at

    Hi @WalesMariner 

    I'm not sure exactly where the problem is. However, the preferred way to do this is to set the OnSelect property of your button to this.

    If(
     Or(
     IsBlank(DataCardValue2.SelectedItems),
     IsBlank(DataCardValue2.SelectedItems),
     IsBlank(DataCardValue3.SelectedDate),
     IsBlank(DataCardValue4.SelectedItems),
     IsBlank(DataCardValue6.Text),
     IsBlank(DataCardValue12.Text),
     IsBlank(DataCardValue13.Text),
     IsBlank(DataCardValue14.Text),
     IsBlank(DataCardValue15.SelectedItems)
     ),
     Notify("The Required field could not be blank, please provide a value for it", NotificationType.Error),
     SubmitForm(SharePointForm1)
    )

    In the OnSuccess property of SharePointForm1, you would apply the following formula:

    'Live-UpdateTracker'.Run(SharePointForm1.LastSubmit.ID);
    Launch("...address.......",{},LaunchTarget.Replace)
  • WalesMariner Profile Picture
    73 on at

    Thanks timl that works perfectly!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard