Skip to content

DNNContactForm: Bootstrap Contact form module for DNN (Dotnetnuke) in C#

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
License.txt
Notifications You must be signed in to change notification settings

GusBeare/DNNContactForm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DNNContactForm

Bootstrap Contact Form Module for DNN in C#

This is a Visual Studio project based on a Chris Hammond DNN template for version 7 and above.

To get up and running quickly just build the solution in release mode and install the module using the .zip file created in the /install folder.

Once you have added the module to a page you must then go into the module settings and find the module specific settings for the DNNContactForm module. In there you can set a Google Recaptcha code, the recipient email address for the enquiries and a success page that you want the user directed to on successful submission e.g. /Success. If you leave the success page blank the module will hide the form and show a success message on submit.

Note: A Google Recaptcha code is required otherwise the form will not submit.

Module settings

contact module settings

Resources

Check the resources file /App_localResources/View.ascx.resx to edit some of the messages.

Styling

This module is Bootstrap enabled so if your site is using Bootstrap it should render as a Bootstrap form.

Validation

Validation is handled by the browser but I am using custom input validation error messages to improve this. Some further validation is carried out by the server side code before submission.

Enquiries are logged to a table called ContactUsFormLog.

I am using Simple.Data to do the INSERT.
Note, I am not using object qualifiers in this project. You may need to edit the code in DatabaseClass.cs for your needs.

About

DNNContactForm: Bootstrap Contact form module for DNN (Dotnetnuke) in C#

Resources

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
License.txt

Stars

Watchers

Forks

Packages

No packages published