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 / Require User to set To...
Power Apps
Unanswered

Require User to set Toggle value to true

(1) ShareShare
ReportReport
Posted on by 5

Simple enough, I just require that the user must set a toogle to true before they can submit the sharepoint form.  I used Required = true but this does not seem to apply the validation rule.

Categories:
I have the same question (0)
  • Sunil Kumar Pashikanti Profile Picture
    2,338 Super User 2026 Season 2 on at

    Hi @Barry_McKee

     

    To ensure that users set a toggle to true before submitting a SharePoint form in PowerApps, follow these steps:

    Toggle Default Property:
    For the toggle control, set the Default property based on your condition. If you want the toggle to default to true, use a formula like:
    Default = true
    Adjust the condition as needed (e.g., based on other form fields).
    Validation Rule:
    Create a validation rule for the submit button. If the toggle must be true, use the Visible property of the button to control its visibility:
    Visible = ToggleControl.Value = true
    This ensures that the button is only visible when the toggle is set to true.
    User Experience:
    When users try to submit the form without setting the toggle to true, the button won’t be visible, preventing submission.

     

    Remember to adapt these steps to your specific app and requirements.

     

    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.

     

    Sunil Pashikanti - Tech Blog: PowerApps

     

     

  • Barry_McKee Profile Picture
    5 on at

    How does this prevent the user submitting the form via the standard Sharepoint "SAVE" button?

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 379 Most Valuable Professional

#2
11manish Profile Picture

11manish 203 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard