20 votes

Cultiv Razor Contact Form

A simple but very powerful contact form, written in Razor. The Razor file is structured so that you can easily modify the existing fields or add new ones.

Basic usage
To put the contact form on your template, add this Umbraco macro:

<umbraco:Macro FileLocation="~/macroScripts/CultivContactForm.cshtml"            MailFrom="[email protected]" runat="server" />


This is the simplest way to start and add the form to your site. It will give you a full contact form with validation. The MailFrom parameter is required, this is the e-mail address that will appear in the “from” field of the e-mails that are being sent out.
Additionally, you may add a parameter called MailFromName to specify the name that will be shown in the “from” field.
Contact mails will be sent TO the MailFrom address. Of course, if "Send me a copy of this mail" is checked on, it will also be sent to the person sending the contact mail.

There are many configurable elements for this package, I encourage you to read the documentation. For full documentation click on the "documentation" tab below.

Screenshots

Package owner

Sebastiaan Janssen

Sebastiaan Janssen

Sebastiaan has 15475 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Sebastiaan Janssen
  • Created: 09/07/2011
  • Current version 1.0.1
  • .NET version 4.0
  • License MIT
  • Downloads on Our: 7.8K