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

Default value for Submitted By base on the user log in

Hello,

 

I have some problems with regards on the default value for Submitted By. I want to set the default value who login ins.

 

Here is the log in page

login.PNG

Here is the data source ( in excel)

user.PNG

and here is the New Form where I want the Submitted  By field have a default value ( by the way the screenshot here is in Edit form)

 

newform.PNG

likewise I want the syntax to be simple ( if there is) because It might hard for me to understand it the syntax is complicated

 

Thanks,

Bogs

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@Bogs ,

Set the Default of the text box to

User().FullName

then the Default of the field control for username you want it written to

If(
   YourFormName.Mode=FormMode.New,
   User().FullName,
   Parent.Default
)

 

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.

View solution in original post

2 REPLIES 2
Super User III
Super User III

@Bogs ,

Set the Default of the text box to

User().FullName

then the Default of the field control for username you want it written to

If(
   YourFormName.Mode=FormMode.New,
   User().FullName,
   Parent.Default
)

 

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.

View solution in original post

Thank you WarrenBeltz it works

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (7,068)