Hello! I am relatively new to Power Apps and I would like some help. I am making something like "Terms and Conditions" where the user has to toggle to "Yes" which means they have read the "Terms and Conditions" before they can submit the form. Which means the Toggle value has to be "Yes" in order for them to be able to submit the form.
Hi @Ouryuusama ,
In your code submitting the form
If( !YourToggleName.Value, Notify("You need to answer yes to Terms and conditions",Error), SubmitForm(YourFormName) )
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
In the OnSelect Property of the SubmitButton:
If(Toggle1.Value,SubmitForm(FormName),Notify("Turn the Toggle to Yes before you can save"))
------------If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.
Consider Checking My Youtube Channel
Thank you very much. Where should I input this code if I don't have a physical submit button. The submit button I am using is the default "save button" that appears on Sharepoint List (does not appear inside Power Apps form).
On that button - add the save code after the check
As I have said, there is no save button inside the Canvas. The button appears only in Sharepoint List when I make new item for the List. Please see image below.
In SharePointIntegration in the OnSave function
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 757 Most Valuable Professional
Michael E. Gernaey 322 Super User 2025 Season 2
MS.Ragavendar 209 Super User 2025 Season 2