cancel
Showing results for 
Search instead for 
Did you mean: 
rahuldelisti
Nintex Newbie

People Picker Validation

I am developing a nintex form which has 3 radio buttons.

If I click radio button 1,

      Option 1(People Picker)Required

      Option 2(People Picker)Required

      Option 3(People Picker)Required

If I click radio button 2

      Option 1(People Picker)Required

      Option 3(People Picker)Required

If I click radio button 3,

      all options become invisible

I added rules for making options visible and invisible. The part which I am struggling is the validation of people picker. I tried a validation rule which said IsNullorEmpty(Option 2)&&Radio Button 1=="ABC". It displayed a validation message when the people picker is empty when I try to submit but the problem is even after filling Option 2 the error still exist when I try to submit the form. Am I missing something here? For some reason the people picker is not identifying if it is not null. Are there other options?

I already tried  . 

0 Kudos
Reply
12 Replies
Automation Master
Automation Master

Re: People Picker Validation

are radio buttons 1-3 three different controls or is it one control with three possible options?

is/are radios connected to list field? if so what its datatype (choice, lookup ...)

can you post screenshot of your rule?

can you split your formula into smaller parts let them evaluate with calculated control value controls? (make a calc control for every evaluation/logical entity)

0 Kudos
Reply
rahuldelisti
Nintex Newbie

Re: People Picker Validation

Typically it is one control with 3 different options and it is connected to the list field. It is a choice field.

Third suggestion is a good one. However how do I evaluate if the people picker is Null or Empty. For some reason it is not evaluating that people picker value.

0 Kudos
Reply
Automation Master
Automation Master

Re: People Picker Validation

ok, I just wanted to be sure as you structured the question as if they were 3 separate controls.

logically your condition seems to be correct, just make sure you correctly reference functions and controls - select them from formula builder and do not type them in manually nor copy&paste.

you eg, posted IsNullorEmpty with capital 'I' whereas inline function is defined with 'i'

and one more question to be sure about functionality, hopefully you are using nintex' people picker control and not legacy sharepoint's one. is it so?

0 Kudos
Reply
rahuldelisti
Nintex Newbie

Re: People Picker Validation

How do I find out if it is the nintex people picker or if it is from the sharepoint?

0 Kudos
Reply
rahuldelisti
Nintex Newbie

Re: People Picker Validation

Marian, I think I am using the legacy sharepoint's people picker

0 Kudos
Reply
Automation Master
Automation Master

Re: People Picker Validation

the easiest way to recognize is to see whether PP control have 'check names' and 'address book' icons next to it.

if so, then it's sharepoint's one

the other sign is label 'People V1' in configuration dialog

0 Kudos
Reply
Automation Master
Automation Master

Re: People Picker Validation

if so then you're off luck, nintex functions/validation doesn't work with legacy sharepoint's controls

0 Kudos
Reply
rahuldelisti
Nintex Newbie

Re: People Picker Validation

Unfortunately, I am off luck. I am using the SharePoint Legacy control. So no validations work with Legacy sharepoint's control?. Have to think another work around.

0 Kudos
Reply
Automation Master
Automation Master

Re: People Picker Validation

definitely not with PP v1 control 

would you mind to enlight reasons you need to stick with PP v1 control?

0 Kudos
Reply