web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / ViewForm after SubmitForm
Power Apps
Unanswered

ViewForm after SubmitForm

(1) ShareShare
ReportReport
Posted on by 280
Good day experts! I have a form set to NewForm and after the user filled out the fields, I would like the form to display the encoded details but in ViewForm only (Users must not be able to edit the form anymore once submitted)
 
Currently, I am getting "no item to display" after submit.
 
From NewForm:
 
 
I would like to achieve a view like this after clicking the save icon:
 
 
Thank you in advance!
Categories:
I have the same question (0)
  • Jonathan Manrique Profile Picture
    2,687 on at
    Hi 
     
    You have several ways to implement it, within the same screen, by making a change of the new form or view or through a new screen using only the view.
     
    The important thing is that you must pass the parameter to the referenced view form
     
    You can use a variable in the save button
    UpdateContext({ editView: true; selectedRecord: Form.LastSubmit })
     
    and then use this formula in the DefaultMode
    If(newMode; FormMode.New; editMode; FormMode.Edit; FormMode.View)

    and Item the form
    selectedRecord
     
     
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    You can accept more than one post as a solution
    Follow me on Linkedin, I talk about Power Platform
    www.linkedin.com/in/jonathan-manrique-rios
     
     
  • mstavra Profile Picture
    247 on at
    On same screen if you want to re appear the last submitted form you could also try to do the following:
     
    on Form settings set
     
    On Success: Set(SubmittedItem, FormName.LastSubmit);
                        ViewForm(FormName)
     
    Then set the item property of the form to SubmittedItem
     
    The default Mode of the form will be set as NewForm.
     
    Check this and tell me if everything is ok with item property. Logically when u open the form the default value will be displayed.
  • scorpio24 Profile Picture
    280 on at
    None of these works for me :(

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard