set the size of files

Hi folks, is there a way to limit the size of a file with fileUploadField function?

  Discussion posts and replies are publicly visible