Check File Extension

Hi there,

is it possible to check the file extension from the uploaded item?

Best wishes
Tom

Hello @TWendt,

You can get the extension of the file in the Attachments field with the code:

//0 is the index of the file
fd.field('Attachments').value[0].extension