---
title: "Comment by Jonathan Obi on \"How to Build a Contact Form with JavaScript and NodeMailer\" | Hashnode"
description: "Is there a reason using a different action than &quot;send&quot; in the form would not work even if though I change to fetch api to fetch from the new action?"
url: "https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/644707d1a0ebe4540f920095"
---

[Discussion](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72)

Comment [How to Build a Contact Form with JavaScript and NodeMailer](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72)

[Jonathan Obi](https://hashnode.com/@jolomi)

[Apr 24, 2023](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/644707d1a0ebe4540f920095)

Is there a reason using a different action than "send" in the form would not work even if though I change to fetch api to fetch from the new action?

[Jonathan Obi](https://hashnode.com/@jolomi)

[Apr 24, 2023](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/644707d1a0ebe4540f920095#reply-6447080828221b47cc490bb8)

Also thank you so much for this post, it has been very helpful

[Victoria Lo](https://hashnode.com/@victoria)

[Apr 27, 2023](https://hashnode.com/posts/how-to-build-a-contact-form-with-javascript-and-nodemailer/5f3d05e179fdf532228edc72/comment/644707d1a0ebe4540f920095#reply-644a19c75c7f2d85a97f0c83)

Hi [Jonathan Obi](https://hashnode.com/@jolomi), you have to change both fetch and server-side side if you want to rename the action to something else. It is not mandatory that it is "send"
