Changing the textbox to line field