check form parameters only on according mime types