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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApp Forms fill re...
Power Apps
Unanswered

PowerApp Forms fill required column before submitting

(0) ShareShare
ReportReport
Posted on by 249

I have a required key "UserID"  . Which I want to fill before submitting the form. I don't want user to enter this value, instead I need to use a value from a variable ie "varSessionUserID".

 

SubmitForm(myForm)

 

ie I wanted to assign varSessionID to UserID field of myForm before submitting as it is a required field. I dont want to input it from user.

 

Categories:
  • zmorek Profile Picture
    3,272 on at

    You can set the default value of the data card value to varSessionUserID, or use the Update property of the DataCard.

  • pcakhilnadh Profile Picture
    249 on at

    @zmorek  How to set default value of the data card ? Could you tell me how to do it also?

     

    in forms I have "ThisItem"  I wanted to update ThisItem.UserID = varSessionUserID

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard