Validate attachment type of a catalog item to pdf
I created a catalog item in the service portal where I have to restrict the attachment to only '.pdf '. Only pdf files have to be accepted. If another file type is uploaded, it should not be accepted. Please help me with the client script.