Miflun.SimpleContactForm
1.0.6-beta
dotnet add package Miflun.SimpleContactForm --version 1.0.6-beta
NuGet\Install-Package Miflun.SimpleContactForm -Version 1.0.6-beta
<PackageReference Include="Miflun.SimpleContactForm" Version="1.0.6-beta" />
<PackageVersion Include="Miflun.SimpleContactForm" Version="1.0.6-beta" />
<PackageReference Include="Miflun.SimpleContactForm" />
paket add Miflun.SimpleContactForm --version 1.0.6-beta
#r "nuget: Miflun.SimpleContactForm, 1.0.6-beta"
#:package Miflun.SimpleContactForm@1.0.6-beta
#addin nuget:?package=Miflun.SimpleContactForm&version=1.0.6-beta&prerelease
#tool nuget:?package=Miflun.SimpleContactForm&version=1.0.6-beta&prerelease
Simple Contact Form With Macro
A simple contact form with macro package for the Umbraco v13 CMS is intended to be used by developers. It can also be used by other users who has access to Umbraco Settings and are familiar with Html, Css, Javascript.
This package is still under development, further refinements will be carried out after inital feedback.
Summary
Simple Contact Form with Macro provides a way to add a form with 4 fields (name, email, phonenumber and message) using a Macro You can add macro within Rich Text Editor as well.
Download
You can add the package using following .NET CLI Command
dotnet add package Miflun.SimpleContactForm --version 1.0.6-beta (please note that version will be changing as upgrades are done to source code)
OR
<b>Using Package Manager Console in Visual Studio</b> PM> Install-Package Miflun.SimpleContactForm -version 1.0.6-beta
You can also download and install package using Visual Studio Manage Nuget Packages for Solution...
Once the package installation is completed you will find following
- Macro (ContactFormWrapper)
- Macro Partial View (~/Views/MacroPartials/ContactFormWrapper.cshtml)
- Contact Form View (~/Views/Partials/ContactForm/Index.cshtml)
Additionally if you don't have javascript then you will have to include https://code.jquery.com/jquery-3.7.1.min.js, ideally to your layout template
SMTP Settings
<b>Add SMTP settings</b> to your AppSettings.json file so that the emails are sent out, please follow this documentation to add your SMTP https://docs.umbraco.com/umbraco-cms/extending/health-check/guides/smtp
Usage
You could use this form by placing ContactFormWrapper Macro in your content pages. Alternatively you can include them in template/partial views by adding @{ await Html.RenderPartialAsync("~/Views/Partials/ContactForm/Index.cshtml", new SimpleContactForm.Models.ContactFormModel()); }
Source code and example
Source code for this package along with example is available on GitHub repository. We strongly advice you to go through this repository before installing the package https://github.com/miflun/UmbracoContactForm.git
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Umbraco.Cms.Web.BackOffice (>= 13.7.2)
- Umbraco.Cms.Web.Website (>= 13.7.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
1.0.6-beta | 169 | 4/17/2025 |
1.0.5-beta | 157 | 4/16/2025 |
1.0.4-beta | 150 | 4/16/2025 |
1.0.3-beta | 203 | 4/16/2025 |
1.0.2-beta | 160 | 4/16/2025 |
1.0.1-beta | 173 | 4/16/2025 |
1.0.0-beta | 163 | 4/15/2025 |