Problem with "Person or Group" field

Mar 11, 2010 at 1:21 PM


I can't set or hide a person or group field. Other fields work fine.

We have a german langpack installed and running, could that be a problem?

Otherwise, fine code, thanks.


Mar 11, 2010 at 5:24 PM

Found the solution in a different post: the string "People Picker" variies from localization to localisation.

I Patched the Code here:

					s2 = $(elm).find("select:last"),
					c1 = $(elm).find("input[type='checkbox']"),
					// BEGIN localization dependend modifications
					r1 = $(elm).find("input[type='radio']");
					// EN-Version 
					// var p1 = $(elm).find("textarea[title='People Picker']"), p2 = $(elm).find("div[title='People Picker']");
					// DE-Version 
					var p1 = $(elm).find("textarea[title='Personenauswahl']"), p2 = $(elm).find("div[title='Personenauswahl']");
					// END localization dependend modifications
					p2 = $(elm).find("div[title='People Picker']"),

works fine now. In German, it's "Personenauswahl". Look in the HTML-Code to see what it is called in your localisation.

Mar 11, 2010 at 5:27 PM

Ah, BTW, Hiding and disabling still does not work, but I read that this is the same in the original english implementation.