Simple Basic Contact Form

Description

Simple Basic Contact Form is a clean, secure, plug-&-play contact form for WordPress. Minimal yet flexible, SBCF delivers clean code, solid performance, and ease of use. No frills, no gimmicks, just a straight-up contact form that’s easy to set up and customize.

Overview

  • Plug-&-play: Use Shortcode or Template Tag to display the form anywhere
  • Sweet emails: SBCF sends descriptive, well-formatted, plain-text messages
  • Safe & secure: SBCF blocks spam and protects against malicious content
  • Customizable: SBCF is easy to configure via the plugin settings screen
  • Super fast: SBCF gives you a blazing fast, well-optimized contact form
  • Clean code: SBCF is lightweight, flexible, and standards-compliant

Core Features

  • Optionally send a carbon copy of each email message
  • Slick, toggling panels on the plugin settings screen
  • Style the form via the settings screen using custom CSS
  • Provides Template Tag to display SBCF anywhere in your theme
  • Provides Shortcode to display SBCF on any WP Post or Page
  • Displays customizable confirmation message to the sender
  • Customizable success message can include email content
  • Customizable placeholder text for all form fields
  • Option to use PHP’s mail() or WP’s wp_mail()

Anti-spam & Security

  • Captcha: Optionally display anti-spam captcha to visitors
  • Firewall: Protects against bad bots, malicious input, and other threats
  • User-friendly: Clear error messages to help users complete required fields

Awesome Performance

  • Built with the WP API for optimal security and performance
  • Custom CSS styles load only where the contact form is displayed
  • Clean source code with proper formatting, alignment and spacing
  • Squeaky-clean PHP and valid HTML5 output

More Features

  • Works perfectly without JavaScript!
  • Option to reset default settings
  • Options to customize many aspects of the form
  • Option to specify a specific time offset for your time zone
  • Option to enable, disable, and customize default SBCF styles
  • Email message includes IP, host, agent, and other user details
  • Customizable form-field captions, error messages, and success message
  • Optionally hide the Message field to make a simple interest form

Plus much more! 🙂

Simple Basic Contact Form supports translation into any language. Current translations include:

  • Dutch
  • French
  • German
  • Spanish
  • Romanian

Support development of this plugin

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a cash donation, bitcoin donation, or purchase one of my books:

And/or purchase one of my premium WordPress plugins:

  • BBQ Pro – Pro version of Block Bad Queries
  • SES Pro – Super-simple & flexible email signup forms
  • USP Pro – Pro version of User Submitted Posts

Links, tweets and likes also appreciated. Thanks! 🙂

Screenshots

  • Simple Basic Contact Form: Displayed on WP Twenty Sixteen theme
  • Simple Basic Contact Form: Plugin settings screen (panels toggle open/closed)

FAQ

Send any questions or feedback via my contact form. Thanks! 🙂

Note: for a contact form with more options and features, check out Contact Coldform.

Reviews

Annoying

miata2

Annoying plugin, sends each email notification four times

Read all 31 reviews

Changelog

20161117

  • Refactored entire codebase
  • Improved logic of contact form
  • Improved sanitization of form input
  • Improved handling of character encoding
  • Removed deprecated screen_icon()
  • Removed deprecated offset setting
  • Removed some deprecated files
  • Added carbon-copy email message
  • Refined plugin settings page
  • Updated plugin author URL
  • Updated URL for rate this plugin links
  • Changed stable tag from trunk to latest version
  • Return instead of echo results in scf_process_contact_form()
  • Changed default setting for scf_mail_function
  • Refined default settings for label values
  • Improved styles for error message and fields
  • Settings now accept single or double quotes
  • Regenerated default language template
  • Tested on WordPress version 4.7 (beta)

20160813

  • Streamlined & optimized plugin settings page
  • Removed support for Intranet Plus plugin
  • Removed quotes around charset attributes
  • Changed menu link from “SBCF” to “Contact Form”
  • Replaced _e() with esc_html_e() or esc_attr_e()
  • Replaced __() with esc_html__() or esc_attr__()
  • Replaced plain plugin logo with an actual icon 😉
  • Added plugin icons and larger banner image
  • Improved translation support
  • Added more allowed attributes for custom content
  • Added option to make message field optional
  • Email message now includes the sender’s email address
  • Fine-tuned form styles
  • Tested on WordPress 4.6

20160408

  • Added Reply-To email header
  • Added support for Intranet Plus plugin
  • Added UTF-8 as default charset for Content-Type header
  • Renamed scf-ro_RO.pot to scf-ro_RO.po
  • Added French translation (thanks to mier)
  • Added Romanian translation (thanks to Serge)
  • Added white-space pre-wrap to form results
  • Increased size of “Custom CSS styles” setting
  • Added new function, scf_default_styles()
  • Replaced icon with retina version
  • Added screenshot to readme/docs
  • Added retina version of banner
  • Reorganized and refreshed readme.txt
  • Tested on WordPress version 4.5 beta

20151111

  • Updated German translation (Thanks to Sven Bamberger)
  • Updated heading hierarchy in plugin settings
  • Refined scf_process_contact_form()
  • Added scf_sanitize_text()
  • Added scf_sanitize_message()
  • Added scf_full_message filter hook
  • Added scf_short_results filter hook
  • Added scf_full_results filter hook
  • Added scf_send_email action hook
  • Updated translation template file
  • Updated minimum version requirement
  • Tested on WordPress 4.4 beta
  • Optimized email headers

20150808

  • Tested on WordPress 4.3
  • Updated minimum version requirement

20150507

  • Tested with WP 4.2 + 4.3 (alpha)
  • Changed a few “http” links to “https”
  • Added Dutch translation; thanks to Martijn van Es
  • Bugfix: HTML attributes were being stripped from custom error messages

20150317

  • New! added subject field to the form
  • Tested with latest version of WP (4.1)
  • Increased minimum version to WP 3.8
  • Removed deprecated screen_icon()
  • Added $scf_wp_vers for version check
  • Added UTF-8 as default for WP option used in htmlentities()
  • Replace sanitize_text_field() and filter_var() with sanitize_email() for email address
  • Streamline/fine-tune plugin code
  • Added nonce security to the form
  • Localized some missing strings
  • Added Reply-To and Return-Path to email headers
  • Added Text Domain and Domain Path to file header
  • Replaced default .mo/.po templates with .pot template

20140925

  • Tested on latest version of WordPress (4.0)
  • Increased min-required version to WP 3.7
  • Added conditional check to min-version function
  • Reorganized the plugin settings page
  • Added .scf class to both form div and success div
  • Added scf_filter_contact_form filter to form output
  • Fixed case-sensitivity bug for challenge question
  • Replaced ‘UTF-8’ with get_option(‘blog_charset’) in scf_process_contact_form()
  • Replaced stripslashes(), htmlentities(), filter_var() with sanitize_text_field()
  • Fixed weird character issue and backslash issue (related)
  • Applied i18n to email content and success message
  • Generated new mo/po translation files

20140305

  • Added default templates for translation/localization
  • Added language support for Spanish
  • Changed default option for Time Offset

20140123

  • Tested with latest WordPress (3.8)
  • Added trailing slash to load_plugin_textdomain()
  • Fixed 3 incorrect _e() tags in core file
  • Localized default options

20131107

  • Renamed add_plugin_links to add_scf_links
  • Revised “Welcome” panel in plugin settings

20131106

  • Added option to hide extra infos displayed in the success message
  • Fixed logic for using mail() vs wp_mail()
  • Removed “Δ” from die() for better security
  • Added i18n/localization support
  • Added “rate this plugin” links
  • Added uninstall.php file
  • Added parameters to htmlentities (fixes weird characters issue)
  • Replaced get_permalink() with empty value in the form
  • Changed $date to use WordPress settings and format
  • Added German translation; thanks to Benedikt Quirmbach
  • Fixed character encoding via filter_var and html_entity_decode in scf_process_contact_form()
  • Tested on latest version of WordPress (3.7)
  • General code cleanup and maintenance

Version 20130725

  • Tightened form security
  • Tightened plugin security

Version 20130712

  • Fix time offset setting
  • Defined UTC as default time
  • Improved localization support
  • Replaced some deprecated functions
  • Added options to customize placeholder text for form inputs
  • Added option to use either PHP’s mail() or WP’s wp_mail() (default)
  • Overview and Updates panels now toggled open by default
  • General code check n clean

Version 20130104

  • “Send email” (submit) button now available for translation
  • Added option to disable the Captcha (challenge question/response)
  • Added option to disable the automatic carbon copy
  • Added margin to submit button (now required in 3.5)
  • Fixed “Undefined index” warning

Version 20121205

  • Now hides ugly fieldset borders by default
  • Errors now include placeholder attributes
  • Anti-spam placeholder now displays challenge question
  • Removed blank line from successful message results
  • You can now use markup in custom prepend/append content
  • Custom CSS now loads on successful result output
  • Wrapped successful result output with div #scf_success
  • Segregated custom content for form and success results
  • Cleaned up some code formatting
  • Moved .clear div to optional custom content
  • Added link to SBCF CSS Hooks in Appearance options
  • Fixed the plugin’s built-in time offset

Version 20121103

Initial release.

Contributors & Developers

Simple Basic Contact Form is open source software. The following people have contributed to this plugin.

Contributors

Translate Simple Basic Contact Form into your language.

Interested in development?

Browse the code or subscribe to the development log by RSS.