Let’s Code: Contact Form in Phoenix – The Schema
In this Let’s Code series, I will be walking through how I added a simple contact form to a Phoenix 1.4 web application. I will try to make this as general purpose as possible so that it’s easier to follow and apply to your Phoenix applications. I encourage you to follow along, either in an existing Phoenix application or a new one.
The contact form will take the minimal number of fields from the user (email, subject, and body) and send that information to a support email address.