Attachment name in formula language

Hi All

Can we check the attachment name in formula language. I have already few attachments in rich text field in the document which I have the validation in LS working fine.

Now I have to attach one more file in rich text field with some naming validation using Formula for the attached file in the current document.

here is mu code :

@If(@AttachmentsNames() <> “SS.pdf”;@Do(@Prompt([Ok];“Error:”;“Kindly attach file named :: ss.pdf “);@Return(””));“”);

Thanks

Sanjay