code: function form () {
    form.form = $("#swagger-parser-form");
  
    form.allow = {
      label: form.form.find("#allow-label"),
      menu: form.form.find("#allow-menu"),
      json: form.form.find("input[name=allow-json]"),
      yaml: form.form.find("input[name=allow-yaml]"),
      text: form.form.find("input[name=allow-text]"),
      empty: form.form.find("input[name=allow-empty]"),
      unknown: form.form.find("input[name=allow-unknown]")
    };
  
    form.refs = {
      label: form.form.find("#refs-label"),
      menu: form.form.find("#refs-menu"),
      external: form.form.find("input[name=refs-external]"),
      circular: form.form.find("input[name=refs-circular]")
    };
  
    form.validate = {
      label: form.form.find("#validate-label"),
      menu: form.form.find("#validate-menu"),
      schema: form.form.find("input[name=validate-schema]"),
      spec: form.form.find("input[name=validate-spec]")
    };
  
    form.tabs = {
      url: form.form.find("#url-tab"),
      text: form.form.find("#text-tab")
    };
  
    form.method = {
      button: form.form.find("button[name=method]"),
      menu: form.form.find("#method-menu")
    };
  
    form.samples = {
      url: {
        container: form.form.find("#url-sample"),
        link: form.form.find("#url-sample-link"),
      },
      text: {
        container: form.form.find("#text-sample"),
        link: form.form.find("#text-sample-link"),
      }
    };
  
    form.url = form.form.find("input[name=url]");
    form.textBox = null; // This is set in editors.js
    form.bookmark = form.form.find("#bookmark");
  }
docs: Finds all form fields and exposes them as properties.