Added getInputControlsByName method
Made form accept other elements than <form>