cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JHS2020 Resolver I
Resolver I

Display item from submitted form into display form

Hi,

So I have a form in Powerapps, which employees are able to submit. When they submit, they will navigate to another screen saying "thanks for submission" Then I would like to display the information from the submitted form into a display form, giving them an overview of the item they just submitted. 

Is this possible?

screen.JPGscreen2.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Display item from submitted form into display form

Hi @JHS2020 ,

Do you want to display the last submitted item in a display form?

Yes, this is possible.

Is the first form used to create new item?

If so, you just need to set the display form's data source the same data source of the edit form, and set its Item to:

editformname.LastSubmit

I've made a similar test for your reference:

1)in screen2, insert an edit form(Form1) to enter data, insert a submit button.

set Form1's data source:

fruit11111

//my data source name

set submit button's OnSelect:

SubmitForm(Form1);Navigate(Screen3)

316.PNG

 2)in screen3, insert a display form to display the last submitted item in the edit form.

set the display form's data source:

fruit11111

//my data source name, same data source as the edit form

set the display form's Item:

Form1.LastSubmit

//editformname.LastSubmit

3161.PNG

 

Then the display form will display the last submitted item.

 

If the edit form is used to edit an existing record, you just need to set the display form's Item to the same item as the item in edit form.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
eka24 Community Champion
Community Champion

Re: Display item from submitted form into display form

To be able to add the textinput to the message, what is the existing formula that displays the current message. Also how many of the textboxes are yo adding to the message?

Community Support
Community Support

Re: Display item from submitted form into display form

Hi @JHS2020 ,

Do you want to display the last submitted item in a display form?

Yes, this is possible.

Is the first form used to create new item?

If so, you just need to set the display form's data source the same data source of the edit form, and set its Item to:

editformname.LastSubmit

I've made a similar test for your reference:

1)in screen2, insert an edit form(Form1) to enter data, insert a submit button.

set Form1's data source:

fruit11111

//my data source name

set submit button's OnSelect:

SubmitForm(Form1);Navigate(Screen3)

316.PNG

 2)in screen3, insert a display form to display the last submitted item in the edit form.

set the display form's data source:

fruit11111

//my data source name, same data source as the edit form

set the display form's Item:

Form1.LastSubmit

//editformname.LastSubmit

3161.PNG

 

Then the display form will display the last submitted item.

 

If the edit form is used to edit an existing record, you just need to set the display form's Item to the same item as the item in edit form.

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (9,610)