script to make attachment mandatory while creating a request.

script to make attachment mandatory while creating a request.

Please add the below script under Field and Form rules for that specific template. 

 

if ($CS.isAttachmentEmpty() == true){

alert("message");

$CS.mandateField(["ATTACHMENT"]);

}

 

 

Screenshot for reference:

 

 

                  New to ADSelfService Plus?