A query form to filter submissions