Project type custom text field is required RRS feed

  • Question

  • Hi everyone,

    I have the requirement in project server 2010.My requirement is that,i have four project type custom text field named as T1,T2,T3,T4. Now when i associate these fields with a PDP (Project Detail Page) i want ,when i entered any value in text box T1 ,then all remaining text box T2,T3,T4 should be Required else text box T1 is empty then all remaining text box T2,T3,T4 should not be required.



    Monday, January 28, 2013 7:14 AM

All replies

  • Hi Neeraj,

    use a Content Editor Webpart like described in this post and place your validation code in it.

    You can use the following JavaScript code to disable the save button on the project detail page before validation and also to enable it after your validation.

    // disable save button
    PDPInfrastructure.SetSaveButtonState(false, true)
    // enable save button
    PDPInfrastructure.SetSaveButtonState(true, true)

    The second parameter of SetSaveButtonState is for refreshing the Ribbon UI.

    I hope this helps.


    Tuesday, January 29, 2013 4:11 PM
  • Here is one of the sample that might be useful.


    If you found this post helpful, please “Vote as Helpful”. If it answered your question, please “Mark as Answer”. Thanks, Amit Khare |EPM Consultant| Blog:

    Monday, February 4, 2013 6:59 AM