Contact Form 7 4.2.2 is now available. This release includes some bug fixes and translation updates. Contact Form 7 4.2.2 has been tested on WordPress 4.3 RC1.
Contact Form 7 4.2.1
Contact Form 7 4.2.1 is now available. This release includes some bug fixes, accessibility improvements and translation updates.
Contact Form 7 4.2
Contact Form 7 4.2 is now available. The contact form editor screen has been overhauled. As a result, some filter and action hooks were removed. See Contact Form 7 4.2 Beta announcement for details.
Contact Form 7 4.2 Beta
Contact Form 7 4.2 will be released at the end of this month. The edit screen has been overhauled for better usability. Add-on plugin authors should test their plugins to Contact Form 7 4.2 Beta early.
Contact Form 7 4.1.2
Contact Form 7 4.1.2 is now available. This release includes some accessibility improvements and translation updates. Contact Form 7 4.1.2 is compatible with WordPress 4.2.
Custom validation
Contact Form 7 provides several kinds of user-input validation by default, including:
- Is a required field filled in?
- Does an email field have an email address in the correct format?
- Is an uploaded file in an acceptable file type and size?
You can also add your own custom validation.
Continue reading Custom validationContact Form 7 4.1.1
Contact Form 7 4.1.1 is now available. This release includes a security enhancement and translation updates. Upgrading quickly is recommended.
Using values from a form-tag
The previous recipe illustrated how you can add custom form-tags simply. In this recipe, you’ll learn how to retrieve values from a form-tag and use those values in the HTML output in a form.
Contact Form 7 4.1
Contact Form 7 4.1 is now available. The maxlength and minlength options, and a new type of form-tag for a Twitter-like character count have been introduced. You can now get field default values from GET and POST variables as well as custom field values.
As stated in the 4.1 beta release, there has been a change in the user-input validation process and, if you use add-on plugins or custom code for Contact Form 7, you may need to modify the code to make it work with Contact Form 7 4.1.
This release also includes several bug-fixes, security enhancements, and translation updates. Upgrading quickly is recommended.
Adding a custom form-tag
This is the first entry in a series of articles to help developers customize Contact Form 7.
The first topic is expanding Contact Form 7’s form-tags. As you probably know, form-tags are code in a specific format within square brackets, usually representing form controls like text input fields and submit buttons. Currently, Contact Form 7 supports 30 different types of form-tags by default.