I need some help to get the selected user from the search profile and set the userid and name into the form field (the form are gen from sharepoint list).
The form are work as below,
1. Search for the user from the profile.
2. selected the correct user.
3. pass the selected user userid sand name in the form.
Please refer to the link for more detial.
I noticed that you said the Form data is from SharePoint list, but in your formula I saw that you used Office365 users connection. Please understand that Office365 Users connection is the user profile from AzureAD, but SharePoint people and group column uses SharePoint user profile.
For your reference:
Please check if you have misunderstood anything.
You are right, the fomula is from the office360users.
i use that to search for the users and select it to add into my form, the two fields (userid / username) need to be passed from the selection to this form.
Once this is done, the form will then save back to the sharepoint list. so that user can managed their own approval list.