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.
Hi @KKN ,
Could you please mark my post as the answer? It will help other members to find it more readily.
Sik
Hello
You were correct in your assumption. THANK YOU! THANK YOU! THANK YOU! The code worked perfectly and I am a very happy camper.
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)
Hope this helps.
Sik
Lucas001
60
Super User 2025 Season 1
Fubar
55
Super User 2025 Season 1
surya narayanan
35