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 / Data validation for mu...
Power Apps
Unanswered

Data validation for multi part form - not using SubmitForm

(0) ShareShare
ReportReport
Posted on by 104

Hi everybody,

 

I am just after a confirmation of my approach before I embark on a "mission".

 

The App I'm working on is basically collecting information into a Sharepoint list. This list gets fed via two different apps and the information going into the list becomes available over time. This means there will be many incomplete datasets submitted and therefore it is not really possible to make fields mandatory by simply setting their properties. (it doesn't make sense to make the end time of a process mandatory when the process has just started but it is important that the start time gets recorded)

 

My simplistic solution for that is that the last user to enter data simply flicks a toggle that sets the record from active to archived. That also is a nice way to keep the start screen gallery tidy.

 

Now my question.

Is there a better way of doing data validation than binding it to that final toggle?

 

Thanks for any clever solution

Hansjoerg

Categories:
  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @ha_wai ,

    I am not sure this will suit your purpose, but the Required field in a Data Card can be conditional, so it is only required under the circumstances you choose. You then test FormName.Valid (it will be true or false) before submitting the Form.

     

    Please click Accept as solution 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 Thumbs Up.

    Visit my blog Practical Power Apps

  • ha_wai Profile Picture
    104 on at

    Hi @WarrenBelz ,

    neither am I sure if this will help me, but it seems very valuable information.

    Once the final toggle is set to complete, the user has to submit the form one last time (I know I could also use the OnCheck property of the toggle to submit but decided against it. I didn't want to introduce multiple ways of doing the same thing.). I guess this could be used to set a variable that triggers all the checks.

     

    Cheers

    Hansjoerg

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard