Share via

make people picker read only

Anonymous
2016-06-21T05:24:23+00:00

Hi,

i am working on infopath form. where i place people picker which show user who initiate form. now i want to to make this control readonly. is there anyway to make it read only or is there other way to show just form initiator user name in form.

thx

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2016-06-21T09:03:18+00:00

    Hi MuhammadRohaan,

    We cannot achieve it directly. You may try the following steps as a workaround.

    1. Add a “People Picker” to the Form.
    2. Add a “Text Box” control to the Form, and set its properties as following:
      1. Default Value: AccountId. (you specify the default value to the People picker field)
      2. Refresh value when formula is recalculated: checked.
      3. Display: Read-only. (Make it read-only, so that the user cannot change its value by UI)
    3. 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

    Was this answer helpful?

    0 comments No comments