1. A computer-implemented method for generating queries to search for matching forms in a set of previously submitted forms, comprising: obtaining a form template for previously submitted form instances, wherein the form template includes a form schema which specifies field names and data types for fields in the previously submitted form instances associated with the form template, wherein the previously submitted form instances were created using said form template; generating a user interface dependent on the same form template used to create the previously submitted form instances, wherein the user interface comprises input options for accepting search criteria from a user, wherein the input options correspond to one or more fields defined by the form schema; generating a query based on search criteria entered by the user for one or more fields defined by the form schema; running the query against the set of previously submitted forms to identify matching forms; and generating a list of the matching forms.