Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. <td>
  2. <SharePoint:ClientPeoplePicker VisibleSuggestions="5" Rows="1" ID="ppContractManager"
  3. Enabled="true" Required="true" runat="server"
  4. ValidationEnabled="true" AllowMultipleEntities="true" Width="245px" />
  5.  
  6. <asp:RequiredFieldValidator EnableClientScript="true" Display="None"
  7. ValidationGroup="QC" ID="rfvppContractManager" ControlToValidate="ppContractManager"
  8. runat="server" ValidateRequestMode="Enabled" ValidateEmptyText="true"
  9. ErrorMessage="Enter Contract Manager" />
  10. </td>
  11.  
  12. <SharePoint:PeopleEditor ID="user" runat="server" SelectionSet="User" AllowEmpty="false" Enabled="false" MultiSelect="false" ValidatorEnabled="false"/>
  13.  
  14. function plpckProjectSponsorFun() {
  15. var err = "";
  16. var pickval = document.getElementById('<%=ppContractManager.ClientID%>' + "_hiddenSpanData").value;
  17. if (pickval != "" && pickval != "&#160;" && pickval != "&nbsp;" && pickval != " ") {
  18. var v1 = Page_ClientValidate("QC");
  19. if (!v1) {
  20. return false;
  21. }
  22. }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement