In the POST method, I get the correct body, but in the form on Netlify and in the emails, I get a mixed up version of my payload. For example, here is a payload:
form-name: Job Application
address1: 1234 Netlify Rd
country: United States
However, here’s how it looks in Netlify and in the emails:
First Name jeremy
Last Name mrsponge
Address1 1234 Netlify Rd
Country United States
Sunday [“Tuesday”, “Wednesday”, “Friday”]
Specifically the issue seems to start after the “Country”. I’d love to provide the HTML, but it can also be found on the link above. Also, I’m not so sure it’s an html issue if the POST body in the browser network tools is showing more well structured.
Note: as a side-question, can I test sending form submissions somehow without counting to the total submission count?
Hi @mrsponge, thanks for the post.
There is a similar post regarding the same issue where forms do not submit the correct data for radio inputs and select inputs.
Kindly try out @perry’s suggestions to see if it helps solve the problem.
If you are having a hard time figuring out the exact solution from the 3 suggestions, I have narrowed it down to the answers by @Dennis and @laura below since your form uses for attribute in labels for radio inputs.
Also regarding your side-question…
Unfortunately you can’t test forms without it counting to form submissions. Submissions will always count.
Let me know the outcome after trying out the suggestions. Hope this helps.