Two forms published on the same page not working properly