Allow only excel files as an attachment.

Annie10
Tera Contributor

Hello,

I have attachment type variable on the RITM that I would like user to attached only excel file to the record. If other file type is selected as an attachment, then it should show pop-up message

 

Annie10_0-1702607155336.png

Could some please help?  

Thank you

 

8 REPLIES 8

Ankur Bawiskar
Tera Patron

@Annie10 

since you only want excel in the attachment variable add this in variable attributes

allowed_extensions=xls;xlsx

If my response helped please mark it correct and close the thread so that it benefits future readers.

Hi @Ankur Bawiskar 

For learning purposes, is it possible to modify the error message?

Annie10_0-1702656107924.png

 

 

My knowledge said no. 

@Annie10 

Nope

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.