Get the source code here http://www.codeshare.co.uk/blog/how-t...
In this video, I show you step by step how to create a contact form in Umbraco. This uses MVC and is written in C#. The form has name, email address and message, and it sends an email on submit.
Here is the breakdown of what this video covers:
Create a Contact Template
Create a Contact Document Type
Create a Model to receive the data
Create a Controller with a method to Render the form
Add a method to the controller to Submit the form and send an email
Create a partial view for the Contact form
Add the form to the Contact template
Create a Contact page using the Contact document type
Demonstrate PaperCut for testing emails
Test it works
If you found this video useful, please hit like and subscribe to my channel. Feel free to comment below, I will happily try to help you out.
See http://codeshare.co.uk for more tips, tutorials and tools.
► Buy me a coffee ◄
https://codeshare.co.uk/coffee