Simplest way to hook up a contact form?

I'm looking for the easiest way to add the required backend logic to a contact form so that I actually get sent people's emails. Some options I'm considering: 1) React frontend hits Express server route that sends the email with Amazon SES. 2) Have the frontend talk directly to an API like https://formspree.io. What are you all doing?

I generally create a google form then connect that to google sheets. Then simply use the Google forms API to build a custom front-end and it gets working pretty easily.

0 Likes
Fabio Rosado

You can also use airtable to collect emails to a sheet if you want

0 Likes
Yuyu

Been wanting to try airtable for collecting form submission data.

0 Likes
Gabe Ragland Author

Good call! Do you know if it's possible to submit right to an airtable client-side, but keep the airtable private? Would be nice to avoid the need for a server.

0 Likes
Fabio Rosado

@gabemake My airtable bases are private and I add things to the sheets all the time. You just need to make a server-side function so you won't leak your airtable API.

If you are using netlify you can do that with netlify functions, I am just finishing a blog post about that :D

0 Likes

@fabiorosado Someone could build an Airtable interface API which enforces read/write rules and not expose the Airtable key.

This'd effectively become Firestore.

Does this seem useful?

0 Likes
Fabio Rosado

@arnav I’m not sure since it’s pretty easy for someone to write server side code to hide the api 🤔 but then again what do I know haha

0 Likes
Fabio Rosado

@gabemake yesterday I posted my tutorial on dev.to let me know if this is something that would help you :D Hide your API Keys with Netlify functions

0 Likes

I use a cloud function on Firebase. It takes some setup if you're not already using functions, but allows for customization later

0 Likes
Geoffrey Hunt

I saw this the other day https://formsubmit.co/ also netlify has form handling free for first 100 submissions

0 Likes
Mads Cordes

I never use forms, but lot's of services out there if you google form as a service :D https://www.google.com/search?q=form+as+a+service

0 Likes
Vinicius Flores

Hey, I just launched I project designed to solve this problem, please check out we have a pretty good free tier, you'll probably like it!!

https://smartforms.dev

Free 150 submissions per month and 200MB File Storage

Also if you have any special needs with the service you can talk to me and I'll help

0 Likes
Simon Fletcher

Late to the party, but check out StaticForms. Disclosure…I made it. Experimenting all the time, so love to get feedback.

0 Likes

Please sign in to leave a comment.