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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Validate form and submit
Power Apps
Unanswered

Validate form and submit

(0) ShareShare
ReportReport
Posted on by 10

Hi all, 

 

i'm new to PowerApps and working on my first app,  I'm just trying to figure out how to validate my form and submit:

 

Patch('xxxxxxxxxxx sharepoint list',
Defaults('xxxxxxxxxxx sharepoint list'),
Form8.Updates,Form9.Updates,Form10.Updates);
NewForm(Form8);
NewForm(Form9);
NewForm(Form10);
Notify("Data Submitted",NotificationType.Success);
Navigate(Screen1)

 

I have 3 forms in total as you can see from above and before you navigate from each screen i have set the OnSelect validation as "If(Form9.Valid, Navigate(Screen3))"

 

As the submit button is on Form10 - how do i add in the Form10.Valid check before i allow submission?

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Albo ,

     

    I think you could control the display mode of the submit button via the Form10's validation:

     

    Set DisplayMode of the submit button

    If(Form10.Valid, DisplayMode.Edit, DisplayMode.Disabled)

     

    So if Form10 is not valid, the submit button would be grayed out and stop the user from submitting.

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard