Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Resource Management - Reject Resource Request dialog box- How to make comments required?

SOLVED
Go to solution
Highlighted
dlinetsk
Member

Resource Management - Reject Resource Request dialog box- How to make comments required?

Hi,

 

We need to make comments field required on Resource Request Reject action. Is it possible? Any ideas?

The scenario is: When a Resource Pool Manager rejects a resource request he/she must provide the rejection reason in the comments section.

 

Thanks,

2 REPLIES
Utkarsh_Mishra
Honored Contributor
Solution

Re: Resource Management - Reject Resource Request dialog box- How to make comments required?

Hi,

 

Well as far as I know, any out of the box solution for this is not provided by HP. You can raise an enhancement request to HP or....

 

Go to <PPM_ROOT>\deploy\itg.war\WEB-INF\jsp\rsc\staffing and Modify RejectDemands.jsp file.

 

It is small change... you can give it a try...

 

Step

 

  1. Put any ID or Name to the TEXT-AREA field in this JSP
  2. Include this code
    <script type="text/javascript" language="JavaScript"> 
    function isMandatory(elem){if ( document.form1.text1.value == '' )      // here add that text-area ID/name  
    {                 alert('Please mention reason for reject in COMMENTS box !!') ;               
    return false;        
    } }
    </script> 
  3. On click event of "DONE" button call this Java-script function also.

 

 
Cheers..
Utkarsh Mishra

-- Remember to give Kudos to answers! (click the KUDOS star)
dlinetsk
Member

Re: Resource Management - Reject Resource Request dialog box- How to make comments required?

Thanks,

 

Dmitry

//Add this to "OnDomLoad" event