what sort of field is this on your form?
Sorry, it's a "person or group"
so you're trying to restrict the user seleted in the people picker to be only members of a certain group? why don't you do that in the list settings, column settings?
Hi Cassy, I tried that approach as well but it was acting funny. It would only allow people from that group to use that field. So if you weren't in that group, it wouldn't allow any name to be resolved. I want everyone to be able to use that field, but validate it from a certain group in SharePoint
so you want them to be able to enter anyone in there but then have validation error if the resolved person isn't a member of the group?
Correct. Or do you know of an easier way to accomplish this?
Hi,
Could you check to make sure your POApprover group settings are like this:
It may be set to Group Members only view.
Jan
Just made this change Jan, but it is still not letting me submit with using someone's name in that group.
Hi,
You can remove any validation you've got on the field now and you should be ok.
Jan
That did it! thank you all so much!
So just to be clear, the answer in this case was to not use the inline function fn-isMemberOfGroup for validation of a People control because it doesn't work / can't be used for this purpose.
Instead, as per Cassy Freeman's post you can enforce people validation via the SharePoint List Settings > Column Settings for the People and Control column with the following setting:
Also, as per post you should also ensure that everyone can view the membership of the group.
The result of this is that only users from the specified SharePoint Group will be queried / auto-completed / allowed in this control on your form. Hope this helps anyone who might be searching for this issue (as I was), because the current "correct answer" is just an interim step.