Download the PHP package vandres/craft-contact-form-extended without Composer
On this page you can find all versions of the php package vandres/craft-contact-form-extended. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vandres/craft-contact-form-extended
More information about vandres/craft-contact-form-extended
Files in vandres/craft-contact-form-extended
Package craft-contact-form-extended
Short Description Adds functionality to the Contact Form plugin
License proprietary
Informations about the package craft-contact-form-extended
Contact Form Extended
Adds functionality to the Contact Form plugin.
Feature Overview
- adds an additional simple spam check
- it checks the time spent on a form
- configure your logging
Requirements
This plugin requires Craft CMS 5.1.0 or later, and PHP 8.2 or later.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
Go to the Plugin Store in your project’s Control Panel and search for “Contact Form Extended”. Then press “Install”.
With Composer
Open your terminal and run the following commands:
Configuration
You can use the settings dialog in the control panel. But I would recommend creating a contact-form-extended.php
in your config folder.
Usage
Just add the following prepareSubmission()
call somewhere in the form template. Example:
If you forget that call, all submissions might be marked as spam!
Edge Case
If you cache the contact form, the prepareSubmission()
might not be called and the form would misbehave.
This is out of the scope of this plugin. I would recommend not caching contact forms or using some kind of AJAX solution. My preference is a combination of the plugins "No-Cache" and "Sprig".
Roadmap
simple spam protection via "time spent on form"write filtered submissions to log (configurable)
Support my work
PayPal: https://www.paypal.com/donate/?hosted_button_id=3WDU85HZCKMPA
Buy me a coffee: https://buymeacoffee.com/vandres
Supporter
- Ambition Creative: Icons