My form hangs on submission and submits multiple entries.