Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Submit Edit form then display submitted details on view form


I am building a app, where upon submitting edit form , display form is resetting to new data record instead of displaying the selected data from the data table.


As seen below, upon clicking submit form it should update the status and show me the updated status in display form but it is resetting to new record. Tried adding refresh button but it did not work. It would be great help if any one can advise how i can display the updated details in display form instead of new record from datasource uponsubmission.


display form Item = DataTable1.Selected

submit button on select : SubmitForm(Form4);UpdateContext({status:false}) --> upon submission edit form will disappeared using update context






Community Support
Community Support

Hi @DSharma1 ,


Could you please share more details about the forms? Do you want to display the selected record in Display Form which updated in the Edit Form?


I made a test and it worked fine:



Both Edit Form and Display Form are with the Item property set to Gallery.selected. 


Please try to remove and re-add the Display Form and Edit Form then set the Item property to DataTable1.Selected and see the result, if the problem persists, try to remove and re-add the data table.


Hope this helps.


Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Frequent Visitor

Hi @v-jefferni 


Thanks for the response. I tried re-adding data-table and removal of forms still selected record resets to 1st row upon submitting the form. Looks like it is default behavior, there is no option within data table to change the default settings.


Please see the step by step.

Screen 1 : selected row
















Step 2: upon selecting the record it will navigate to screen 2 and show the selected record in display form.




Step3: Upon clicking update status, edit form will be displayed . I can update the status and submit the form. As soon the status is updated , display record changes to 1st row of the data-table.












Frequent Visitor

As a workaround, i have implemented the date sorting(by column) in my datatable in descending order. So whenever the status is updated the first record in the datatable would be always the updated record. hence display form always shows the updated record.



Thanks again.


Hi @DSharma1 ,


Please check if all those OnSelect properties of the Gallery Items been set to Select(Parent). If not, correct it.


Hope this helps.


Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

Helpful resources

PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,245)