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

Community site session details

Session Id : CQgu8bnbBHMLpmxkmpFzOr
Power Pages - Power Apps Portals
Answered

Sbubmit Button

Like (0) ShareShare
ReportReport
Posted on 8 Apr 2020 20:44:31 by 5

Hello

I am brand spanking new to power apps.  I have finally managed to create a form that has four pages and can get it to submit to my SharePoint list.  On the last page of my form I have a Submit button.  All fields on the form will be required.  I would like the submit button to be greyed out if fields are left blank.  If the button is greyed out, when you hover over the button there is a "Please ensure all fields are complete" tooltip.  Now, I can get this to work on the first page of the form with this code:

 

If(IsBlank(SharePointForm1) || SharePointForm1.Valid,DisplayMode.Edit,DisplayMode.Disabled)

 

Is there a way to get it to work for the other three pages of the form?

 

Help would very much be appreciated.

 

I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on 10 Apr 2020 at 01:11:41
    Re: Sbubmit Button

    Hi @KKN ,

     

    Could you please mark my post as the answer? It will help other members to find it more readily.

    Sik

  • KKN Profile Picture
    5 on 09 Apr 2020 at 14:24:31
    Re: Sbubmit Button

    Hello

     

    You were correct in your assumption.  THANK YOU! THANK YOU! THANK YOU!  The code worked perfectly and I am a very happy camper.

  • v-siky-msft Profile Picture
    on 09 Apr 2020 at 08:24:41
    Re: Sbubmit Button

    Hi @KKN 


    You said that the form has four pages, do you mean there are four screens and four EditForm?

    If my assumption is right, please try this:

    1. Set Required property of each Data Card to true

    2. modify the SubmitButton.DisplayMode as below:

     

    If( SharePointForm1.Valid && Form2.Valid && Form3.Valid && Form4.Valid,DisplayMode.Edit,DisplayMode.Disabled)

    Snipaste_2020-04-09_16-24-05.png

    Hope this helps.

    Sik

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#2
Lucas001 Profile Picture

Lucas001 48 Super User 2025 Season 2

#3
KevinGador Profile Picture

KevinGador 44 Super User 2025 Season 2

Loading complete