def make_submit(self, keep_types = False):
result = Form("<STR_LIT>")<EOL>for field in self.fields:<EOL><INDENT>if field.type == "<STR_LIT>":<EOL><INDENT>continue<EOL><DEDENT>if not field.values:<EOL><INDENT>if field.required:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>continue<EOL><DEDENT>if keep_types:<EOL><INDENT>result.add_field(field.name, field.values, field.type)<EOL><DEDENT>else:<EOL><INDENT>result.add_field(field.name, field.values)<EOL><DEDENT><DEDENT>return result<EOL>
Make a "submit" form using data in `self`.

        Remove uneeded information from the form. The information removed
        includes: title, instructions, field labels, fixed fields etc.

        :raise ValueError: when any required field has no value.

        :Parameters:
            - `keep_types`: when `True` field type information will be included
              in the result form. That is usually not needed.
        :Types:
            - `keep_types`: `bool`

        :return: the form created.
        :returntype: `Form`