Hide asset in template

Hide asset in template

Hello,
I need to hide the Asset field during template loading, I have tried the bellow script but it does not work:

Edit the incident/service template from which the asset needs to be hidden, choose Field & Form Rule tab. Create a rule "On Load" with the below script.

jQuery('[name=selectedCIs]').parents('div.mb0').hide(); 
//Hiding the asset in details page (In-line Edit) 
try{
  jQuery('#multiasset').parents().eq(0).hide();
}catch(e){}

and save.

The field asset is still visible at template loading.

Thank you!

                New to ADSelfService Plus?