Fixed typo where instead of the ID it passed the input name