The Zurich release has arrived! Interested in new features and functionalities? Click here for more

How do I hide attachments at the top of a form?

Randy at DT
Kilo Contributor

We have a form that users will likely add several (up to 10) attachments. I've added the Attachments related list to the form and don't want to also clutter the form with multiple attachments. I'm NOT talking about the attachment paperclip icon, but the attachments themselves.  thx

1 ACCEPTED SOLUTION

On your client script, you need to set Isolate script field to false. This field is not found on form layout, you will need to add it. Once this field is unchecked, your script will work and this is a new change since London.

View solution in original post

16 REPLIES 16

sachin_namjoshi
Kilo Patron
Kilo Patron

Please write below client script.

 

 

function onLoad() {

 

      if ($('header_attachment')) {

 

              $('header_attachment').hide();

 

      }

 

}

 

Regards,

Sachin

That did not work.