Modify input validation to take a form rather than a list of forms and an id