Working through the second tag of input type