New answers tagged

0

Remove the "ShowField" parameter in your XML. By default, ShowField goes to NameWithPresence. You could also try to override its value.


0

Here is a snippet that you can use $('.ms-entity-resolved[id^="txt_MentorName"]').attr('title'); Or Copied From - https://blog.sprider.org/2012/04/23/get-sharepoint-people-picker-value-using-java-script/ var PickerPerson = getPickerInputElement("ff13"); // Here ff13 is your people picker control ID function getPickerInputElement(identifier) { var ...


0

Try to check this to get people picker value <script src="/JSLibrary/jquery-1.3.2.min.js" type="text/javascript"> <script type="text/javascript"> $(document).ready(function() { $("input[title='JM ID']").focus(function() { var User = $("textarea[title='People Picker']").val().split("\\"); $("input[title='JM ID']").val(User[1]); }); }); Ref


1

Solution: there've been wrong data in ActiveDirectoryCustomQuery of the picker settings: ActiveDirectoryCustomQuery = "(&(objectCategory=person)(objectClass=user))" => set to null by ActiveDirectoryCustomQuery = $null resolved the problem


0

I have done something similar to this and used the PreSaveAction function as well. This should be a catch-all on a custom new form for all fields. This doesn't contain the conditional logic, but should lay some groundwork on how to select. The way I was flagging each field was by using the class requiredField on the <tr>, which is done by placing ...



Top 50 recent answers are included