Added support for multiple forms on the same page