Is it possible to control fields in Collaborative Task?

Hello everyone!

There is something I need to know. Can we limit the documents to be placed in the Collaborative Task for 1 task?

As an example: Allow to embed xml in a task, not allow pdf and word. If you try to add pdr/word, get a warning message from system.

Can we set this rule on a task basis?

Is there any way to add this rule in the system?

Thanks!