replaced id selector with class
fixed form type error