SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a SharePoint 2010 Infopath List form. In this form I have a people picker field and a Date picker field. Now I need to make people picker field Mandatory only when Date picker field is not blank. How can I do this as Action, validation are not available for People Picker and we cannot use custom code for an Infopath List form ? Please suggest.

share|improve this question

Here is the solution :

By creating another field (name it PersonValidator or something) and setting its default value to the AccountId field of the Contact Selector, then add a section control below/above/beside the Contact Selector that is hidden, UNLESS the PersonValidator field is populated when the Date field is populated.

This section control should have red/bold/italicized text in it stating that the Contact Selector may not be blank. Also, make the PersonValidator field conditionally required by using a Validation rule that says, "If DateField is not blank and PersonValidator IS blank."

This is an indirect method for making a Contact Selector conditionally required.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.