added  name attribute support for input