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!
Did you ever get this to work?
I too have the same requirement of only allowing users to upload PDF file(s).
What property did you set this fx on, I've tried on DisplayMode but get errors:
If(!EndsWith(galAttachments.Selected.Name,"pdf"),DisplayMode.Edit,DisplayMode.Disabled)
User | Count |
---|---|
263 | |
110 | |
92 | |
55 | |
41 |