InfoPath Add action rule to people picker in SharePoint 2013

This InfoPath tutorial, we will discuss how to add action rule to a people picker control in InfoPath in SharePoint 2013.

I am one scenario where I have a people picker control and I wanted to show some user profile information of the user whose account id is entered in the people picker control.

But when I checked to add an action rule to the people picker control, I do not see the action rule associated with the people picker control, the only formatting rule was enabled for the people picker control.

 InfoPath Add action rule to people picker in SharePoint 2013
InfoPath Add action rule to people picker in SharePoint 2013

But I wanted to add an action rule where I wanted to retrieve information from user profile service.

Well, there is no direct way to do that, but there are very less thing which is impossible.

Add a textbox control and set the Default Value to AccountId of the People picker field.

And make sure you have checked the “Refresh value when the formula is recalculated” option in InfoPath.

Also, you can hide this control or you can make this textbox to read-only so that no one can modify this.

 InfoPath Add action rule to people picker in SharePoint 2016
InfoPath Add action rule to people picker in SharePoint 2016

Now whatever action you want to add, you can add as a rule to the Textbox.

You can give the condition as: Rule runs when the field changes.
And you can set the value as shown in the fig below:

 InfoPath Add action rule to people picker in SharePoint 2019
InfoPath Add action rule to people picker in SharePoint 2013

You may like following SharePoint 2013 InfoPath tutorials:

I hope this will be helpful to you to add action rule to people picker in SharePoint 2013.

Donwload Hub site pdf

Download SharePoint Online Tutorial PDF FREE!

Get update on Webinars, video tutorials, training courses etc.

>