I want only created by user to edit the form and readonly for all other users.
I tried Current User==Created By didnt work
Then I tried to put a single line text box to get the value of created by field which displayed Null, however, in the other single line text field the current user value is displayed like i:0#.w|domainusername that too only in create new item mode but not in Edit mode.
The created By value is not displayed all times (new, edit or display).
Please help.