For my “newsletter” form, I’m successfully receiving blank submissions, i.e. I get the proper time stamping and IP address tracking in the Netlify Forms inbox, but no actual text, in this case email addresses to go with it. Just blank.
Here’s the code to this form, I’m sure it’s some rookie mistake as to what I’m missing:
You have action="POST" in your live form. the action should be thank-you and we’ll give you our generic thank you page. right now since you set it to POST you’ll get redirected to /POST. I recommend reading through our form debugging post for more info!
That was a huge help! I was able to fix both forms so they are routing properly to the generic success page.
With that said, I’m still running into the issue where my newsletter form data is coming back blank in the Netlify Forms repository. I’m receiving the submission, just not the contents (in this case the text of the email addresses)
Anyone have any thoughts on what could be causing the newsletter/email field in the form to return successfully but the contents be blank? I cant seem to fix it through all the troubleshooting ive done.
It looks like the form is only submitting a form-name, it’s not submitting the e-mail address:
You should check your form handler function or the production html. Note that you can see what your form is submitting by checking the network tab for the submission request.
Looking at solutions presented this should work, but I’m not getting a success message on form submit. Anyone have a few moments to check my code, please?:
Thanks @youngchris, are you doing the submission using javascript or is it a pure html submission? Also can you remove the action from the form and let me know if it still doesn’t redirect for you?