Need to restrict the document type while uploading a file in Portal forms

Need to restrict the document type while uploading a file in Portal forms. Please help how to do this in portal forms? I am aware of the SAIL form file restrictions. Please help with portal forms how to achieve this.

  Discussion posts and replies are publicly visible