added frontend for form inputbox