Announcements
I just want to submit the filled out form as the user currently logged in / editing the form. Do I need to edit the Items line or something?Bonus: I would also like to Submit a form where the form is not present and filled out for the currently logged in user, so no reference of data cards or forms. I just want to change data for the logged in used based on OnSelect functionality.
HI @FailSafe ,
The logged in user will be the person in the Modified by in the line item (unless it is changed again). Are you storing the data in another field as well? For the second question, you cannot change the Modified by from the logged-in user if that is what you are meaning.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
One clarification on what @WarrenBelz posted. You can't change the Modified By using Power Apps, but you can change the Modified By using a Http REST call in a Power Automate flow.
I'm doing:
OnVisible
UpdateContext({CurrentUser:User().Email})
For the HomeScreen / First Screen. But it doesn't seem to carry into other screens.
Context variables are scoped to a particular screen. If you want to use CurrentUser on other screens set a Global variable instead
Set(CurrentUser, User().Email)
I tried going the Power Automate route only to be infuriated by a looping issue of "Apply to Each" when trying to Create Item within Sharepoint list when adding an Initialized Variable to insert data into the list.
Submitting the form with this spawns entries for all users in the list. 4 of them for each user actually.
Unfortunately, If you want to control system fields like Modified By its the only way. Not sure what your issue was with Create Item and loops, but if you post it in the Power Automate forum we can help figure it out.
Could you explain a bit more about what you are trying to do? As @WarrenBelz mentioned when you submit a form in Power Apps the record is created in the Data Source As Created by or Modified by the user who is running the Power App.
What I'm attempting to do is SubmitForm as the currently logged in user for OnSelect when a button is pressed. I would also like to predefine a SubmitForm process when another button is pressed. but I don't want it too specific to my immediate need because I want to know how to generally do this in the future using other inputs/data. I've googled enough that I could make a hidden combo/select box and have this taken care of super easy, but I'm stubborn.
1) SubmitForm does submit as the current user when pressing a button in the OnSelect. There is no way to change that in Power Apps.
2) There is no way to Submit the Form as a different user.
3) You can use almost any action property (OnSelect, OnChange, etc ) to Submit a form.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185