A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi MuhammadRohaan,
We cannot achieve it directly. You may try the following steps as a workaround.
- Add a “People Picker” to the Form.
- Add a “Text Box” control to the Form, and set its properties as following:
- Default Value: AccountId. (you specify the default value to the People picker field)
- Refresh value when formula is recalculated: checked.
- Display: Read-only. (Make it read-only, so that the user cannot change its value by UI)
- Add Rule to the “Text Box” control. When “This field changes”, do “set a field’s value”, or submit data.
If it does not work or you need further assistance, I would suggest you post in our SharePoint 2013 InfoPath forum on TechNet which is a specific support channel for InfoPath related questions.
Thanks for your understanding.
Regards,
Ran