All posts by Takayuki Miyoshi

Disabling only specific error types of config validator

While you can disable the functionality of the configuration validator, you may feel that disabling the entire functionality is overkill. Another technique that I am describing in this recipe allows you to apply more precise control over the configuration validator. You can disable only the error types you specify.

Continue reading Disabling only specific error types of config validator

Customizing Brevo’s contact creation

Contact Form 7 has an integration module with Brevo (formerly Sendinblue) that manages a contact database derived from contact form submissions. To add a contact data to the database, Contact Form 7 sends a request to the Brevo API. This recipe describes how you can customize the request parameters using the wpcf7_sendinblue_contact_parameters filter hook.

Continue reading Customizing Brevo’s contact creation

Setting upper limit of checkbox selection

In this recipe, I’ll show you how to implement a user input validation that sets the upper limit of checkbox selection. This validation is based on the Schema-Woven Validation (SWV) mechanism, so it has some big advantages over the previous filter-based validation, such as:

  • You can use validation rules already defined by SWV, so you don’t need to code the validation logic yourself.
  • Once you create an SWV validation rule, the rule can work anywhere as long as SWV is supported. On the other hand, filter-based validation only works on the server side.
Continue reading Setting upper limit of checkbox selection