you can narrow it down by selecting only the <form>...</form> text. How many <form>'s are on the page?
Once you have a variable containing just the <form> string, how many <input> elements does it have? and how many <input> elements does it have that only have 'type' and 'value' set?