Automatical detection of multipart submission of a form