none
Project Detail pages - Edit Custom Field - Need validations RRS feed

  • Question

  • For one of our client requirement - we are exploring to add some custom validations 

    Example -  There is a custom field name SCORE and value should be between 1-100 only - How to add such a validation on Project Detail pages - so that users can only SAVE the changes if validation is passed 

    Question >> Is this even possible ? 

    Any help / pointers are appreciated. 


    Sandeep Nahta AppliedIS Hyderabad http://snahta.blogspot.com

    Thursday, October 5, 2017 3:01 PM

All replies

  • Hi,

    You'll have to add some custom js code in a hidden content editor webpart.

    Find some starting points below:

    • https://social.technet.microsoft.com/Forums/ie/en-US/03c91b26-55f7-401e-9e5d-15913e6c4a6d/project-server-custom-field-validation?forum=projserv2010setup
    • https://social.msdn.microsoft.com/Forums/en-US/638a2cc6-7202-4034-9a2b-d010414d3290/project-custom-field-validation-using-text-field-in-project-server-2010?forum=project2010custprog

    Hope this helps,


    Guillaume Rouyre, MBA, MVP, P-Seller

    Thursday, October 5, 2017 3:18 PM
    Moderator
  • Thanks Gulliaume, 

    I googled and found these links too but Unfortunately they are not working solutions. 

    I was looking for more of a Self experience answer. 



    Sandeep Nahta AppliedIS Hyderabad http://snahta.blogspot.com

    Friday, October 6, 2017 2:25 AM
  • Hi Sandeep,

    What do you mean by "self experience" answer? I didn't put in place my self this solution but I know it works because I saw it. I'm afraid you'll never find the exact code sample which would suit your need. You'll have to start from a relevant sample and customize it to your context. 


    Hope this helps,


    Guillaume Rouyre, MBA, MVP, P-Seller

    Tuesday, October 10, 2017 2:06 PM
    Moderator