<form method="post" enctype="multipart/form-data">
  <input type="file" name="document">
  <input type="text" name="another_field">
  <input type="submit">
</form>