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 / SubmitForm with IF sta...
Power Apps
Unanswered

SubmitForm with IF statement

(0) ShareShare
ReportReport
Posted on by 35

Hello,i have a several forms(SharePoint list) in my power apps. I need to be able to submitforms for selected forms. I use this code but nothing happens. Please tell me what to do in this situation

SubmitForm(Feedback_Form_Default);;
If(
Routines_Choiser.Selected.Value="AM KSR Changover_Routine_Default";
SubmitForm('AM KSR Changover_Routine_Default');
NewForm('AM KSR Changover_Routine_Default')
);;
If(
Routines_Choiser.Selected.Value="Maintenance Planning and Scheduling_Routine_Default";
SubmitForm('Maintenance Planning and Scheduling_Routine_Default');
NewForm('Maintenance Planning and Scheduling_Routine_Default')
)

 

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

    Hi @ruslan889901 ,

    I assume that Routines_Choiser is on the Feedback_Form_Default ?

    If so, submit that form last.

     

    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.

    MVP (Business Applications)   Visit my blog Practical Power Apps

     

     

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
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard