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 SharePoint inte...
Power Apps
Suggested Answer

Submit SharePoint integrated list with PowerApps

(1) ShareShare
ReportReport
Posted on by 181
Hi all,
 
I have a SharePoint list integrated with PowerApps. I've made some fields mandatory and built a custom save button. Additionally, I've added a success screen that users are taken to when they click on the submit button. However, the save button doesn't check if all the mandatory fields are filled before saving and navigating to the success screen. I need assistance in implementing a check to ensure all compulsory fields are filled before saving and navigating to the success screen.
Below is the code for the custom save button.
 
Categories:
I have the same question (0)
  • Suggested answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
    Hey Harris, 
     
    You could do it like this: 
    If( !IsBlank(Control.text) && !IsBlank(Control.text) &&...., 
        Patch(
            'Travel Booking Request Form', 
            Defaults('Travel Booking Request Form'),
            TravellersDetails.Updates,
            TripDetail.Updates
        );
        Navigate(SuccessScreen);
        Refresh('Travel Booking Request Form'),
        Notify(
            "Please fill out the mandatory information",
            NotificationType.Error
        )
    )
     
    Let me know if it helped you out. 
     
    If this solved your problem please accept this answer as solution to that others can find it aswell. 
     
  • WarrenBelz Profile Picture
    156,454 Most Valuable Professional on at
    Hi Harris021 
    Try
    If(
       TravellersDetails.Valid && TripDetail.Valid,
       Patch(
          'Travel Booking Request Form',
          Defaults('Travel Booking Request Form'), 
          TravellersDetails.Updates, 
          TripDetail.Updates
       ); 
       Navigate(SuccessScreen);
       Refresh('Travel Booking Request Form’),
       Notify("fill in fields . . .)
    )
     
    Please click Does this answer your question 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 a Like.
    MVP (Business Applications)     Visit my blog Practical Power Apps    Buy me a coffee

     
  • MK-07081211-0 Profile Picture
    12 on at
    How about only making the Save button visible if mandatory field have been filled

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
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard