cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
iiintro
Helper III
Helper III

After submitting the new form, how to show the content immediately?

I know SubmitFrom() will submit this form to sharepoint list. 

How to show these content after clicking this submit button?

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Create a variable OnSuccess property of the Form as:

Set(varLastItem, FormName.LastSubmit)

 

Then in the Item property of the form put name of the variable;

varLastItem

------------

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.

View solution in original post

5 REPLIES 5
eka24
Super User
Super User

Create a variable OnSuccess property of the Form as:

Set(varLastItem, FormName.LastSubmit)

 

Then in the Item property of the form put name of the variable;

varLastItem

------------

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.

😂

Thank you very much! One more question, how can I reset the displayview from edit to view when I click submit? And if I need one more button to create a new form if I need submit another Form just after this?

If you need to change it to view after submit, alter the formula to;

Set(varLastItem, FormName.LastSubmit); ViewForm(FormName)

 

Then insert another button on your screen. OnSelect of the Button:

NewForm (FormName)

------------

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.

That works! Thank you !

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (3,497)