Hi All,
I am trying to prevent users from attaching any file extensions except PDF but I cannot find the right clue to do it.
Note: I am able to do it if the user uploading only one PDF but in case of multiple files the collection read only the first one using the below formula :
If(!EndsWith(galAttachments.Selected.Name,"pdf"),DisplayMode.Edit,DisplayMode.Disabled)
Would you please help to sort this out?
I want to use " ForAll(Colattachment, If(!EndsWith(galAttachments.Selected.Name,"pdf"),DisplayMode.Edit,DisplayMode.Disabled)
but I am getting an error.
Thanks for the help!

Report
All responses (
Answers (