
Hello, I keep getting an error message when I try to send the email. I am using React.
I've attached the error message as well as the code I'm using. I copy and pasted the code from index.html. I've changed the action attribute to my own webscript copy.
Any and all help is appreciated.


if you are using the default form submission instead of the provided clientside JS, then that error is expected. in order to send the email with the order of the elements provided on the form, you need a piece of data to be parsed and sent to the server. a custom request is expected, also because forms are not parsed fully by default.
whether there is a benefit to revert this feature to avoid these errors is something worth debate. kind of calls into question whether we should have any processing though.
Hi @Brothman, I faced the same issue - basically you'll just have to add this script to make your form functional!
<script data-cfasync="false" type="text/javascript"
src="https://cdn.rawgit.com/dwyl/learn-to-send-email-via-google-script-html-no-server/master/form-submission-handler.js"></script>
thanks @devmrin !
will be fixing this eventually with #237
Most helpful comment
Hi @Brothman, I faced the same issue - basically you'll just have to add this script to make your form functional!
<script data-cfasync="false" type="text/javascript" src="https://cdn.rawgit.com/dwyl/learn-to-send-email-via-google-script-html-no-server/master/form-submission-handler.js"></script>