limit file size
encounter form now gives a warning when files are too big