<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def end_element(self, tag):
 """search for ending form values."""

        if tag == u'form':
            self.forms.append(self.form)
            self.form = None