Uses placeholder attribute instead of prelim textbox. Functions updated to reflect change.