Category: Contact form 7

contact form examples, test and much more!

Developer Guide: Customizing CF7 AntiSpam Filters

The CF7 AntiSpam plugin now uses a modular “Pipeline” architecture. This means every spam check (DNSBL, HoneyPot, Bad Words, etc.) is an individual WordPress filter hooked into cf7a_spam_check_chain. This allows developers to: 1. The $spam_data Array All filters in the chain receive and must return a single array called $spam_data. This array contains the context […]

Show a Qr Code on contact form 7 mail submit

This example show how display a  QR code on mail submit with Contact Form 7 For first go to the 3rd tab and edit the success message (the first) adding at the end %%[_date]-[_serial_number] (so the message will look like “success message sent %%[_date]-[_serial_number]”) ref. https://wordpress.org/support/topic/show-qr-code-on-successful-submission/ Your name Your email Subject Your message (optional)

Submit button withdrawal

you can enable the send withdrawal of the form (like in gmail) and abort the submission. Add this code to functions.php ref. https://wordpress.org/support/topic/withdrawal-button/ Your name Your email Subject Your message (optional)

Image preview

This is an example created some times ago for a support question into contact form 7 support forum, but could be very useful in order to show the uploaded images into a form with a input type file. ref. https://wordpress.org/support/topic/image-upload-preview-before-submit/ Example 2 This is another example that check the image size to be less than […]