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 / Displaying two forms o...
Power Apps
Answered

Displaying two forms on same screen

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey all, 

I would like to know how to display two forms (DetailForm& NewForm) on same screen. 

My problem is that when I SubmitForm, only the DetailForm is displayed

121212.PNG

1212132432.PNG

 

Categories:
  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    Do you mean only the one form is updated? The SubmitForm() command takes the form name as an Argument. 

    So you would just need to add a second SubmitForm to the button's OnSelect property. It would be something like:

    SubmitForm(Form1);SubmitForm(Form2)

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I want Form1(NewForm) and Form 2 (DetailForm) to display together on the same screen. The problem is that when i submit an input, only Form 2 (DetailForm) is displayed. 

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Anonymous ,

     

    Update your code when you click Submit Button for Form1.

    SubmitForm(Form1);
    //ResetForm(Form1); this will clear data of the form
    NewForm(Form1);

     

    Insert NewForm() function to show a new Form.

     

    Hope this helps

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Not sure what is your exact need.

    Do you want to display a special record like the form last submitted in the detail form and new form in a same screen?

     

    I am confused why you want to display an empty new form in the screen, anyway, check the following steps.

    Set the OnSuccess property of the submit button as below:

    NewForm(Form1)

    This will get you a blank detail form and a new form once you submit the form successfully.

     

    If you want to display the last submit record within the detail form, you could set the Item property of the detail form as below:

    Form1.LastSubmit

    And do not forget to set the OnSuccess property as the NewForm() 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.

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 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard