Why is a form being returned with incorrect information?