real time: hide and show input