We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Modification of GSP file for CreateAD group form

Rashmi
New Contributor
New Contributor
Hi Team,
 
We are trying to modify the current gsp file for Create AD group request form. The requirement is to limit the characters in "business justification" field. We tried to add maxlength as below on line in the gsp form.
 
                                                            <textarea rows="2" class="form-control" name="customproperty29" id="customproperty29" maxlength="200"></textarea>
 
The changes are working as soon as the request form is opened,However, the feature stops working as soon as we fill up all the mandatory field in the request form.
 
Please help us on how to set up a limitation on "business justification" field on Create AD gsp form.
1 REPLY 1

rushikeshvartak
All-Star
All-Star

use function

  
 
 
 
         
function roleNameLengthValidation(){
var fieldRoleValue = document.getElementById('role_name').value;
var validCheck=true;
 
document.getElementById('displayname').value=document.getElementById('customproperty29').value;
if(fieldRoleValue!="") {
var mxlen = 200;
if(fieldRoleValue.trim().length> mxlen){
validCheck=false;
}
}
 
return validCheck;
}
 

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.