How Make attachment mandatory using Script and it should be work Both in Native UI and Portal?

Raviteja24
Tera Contributor

Hi,

I have created a onSubmit client script which is used to make attachment mandatory . But , it was working in portal and it is not working in backend.


Raviteja24_0-1734595647312.png



It was showing error in backend 

Raviteja24_1-1734595735450.png

Thanks,

5 REPLIES 5

Community Alums
Not applicable

Hi Anand,

 

I have also tried this, but this is not working.

 

Thanks,

Aman