cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Validating multi page app

Current approach

I have an app which records its data into a SharePoint list. This list has roughly 30 fields so I have split the app into 3 pages.

 

Each Screen has a Form that contains a subset of the 30 fields split between the 3 screens / forms.

powerappq.png

 

As I move through the app I am opening a new Screen / Form in turn. When the final screen is submitted by pressing the button the 3 Forms are Patched to the SharePoint list.

 

The issue

This works fine if everything is valid but if there is an error on the first screen it throws an error. As I am patching and not using the SubmitForm functionality I can't use the out of the box basic validation with OnSucess and OnFailure.

prob2.png

 

 

 

 

Better way?

Is there a way to validate each screen before moving on to the next one? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps
Power Apps

Re: Validating multi page app

@Conor, here are some references you can leverage to build validation in each screen/form before you proceed to the next.

 

Blog post from @Audrie-MSFT on validation: https://powerapps.microsoft.com/blog/validation/

Validate function: https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-validate

DataSourceInfo function: https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-datasourceinfo

 

Thanks

Anees

 

 

View solution in original post

1 REPLY 1
Highlighted
Power Apps
Power Apps

Re: Validating multi page app

@Conor, here are some references you can leverage to build validation in each screen/form before you proceed to the next.

 

Blog post from @Audrie-MSFT on validation: https://powerapps.microsoft.com/blog/validation/

Validate function: https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-validate

DataSourceInfo function: https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-datasourceinfo

 

Thanks

Anees

 

 

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,752)