Very Simple Contact Form

Omschrijving

About

This is a lightweight plugin to create a customized contact form.

Add shortcode [contact] on a page or use the widget to display your form.

Form has fields for Name, Email, Subject and Message. It also has a privacy consent checkbox and a simple numeric captcha.

You can personalize your form via the settingspage or by adding attributes to the shortcode or the widget.

It’s also possible to list form submissions in your dashboard.

How to use

After installation add shortcode [contact] on a page or use the widget to display your form.

Settingspage

Via Settings > VSCF you can:

  • Change admin email address
  • Keep form submissions and settings when uninstalling plugin
  • Activate the listing of form submissions in your dashboard
  • Disable subject field
  • Activate confirmation email to sender
  • Activate a privacy consent checkbox on form
  • Disable collection of IP address
  • Activate form anchor (scroll back to form position after submit)
  • Change form labels and messages

Settings and labels can be overridden when using the relevant (shortcode) attributes below.

This can be useful when having multiple contact forms on your website.

Shortcode attributes

You can add attributes to the shortcode mentioned above.

Misc:

  • Change admin email address: email_to="your-email-here"
  • Send to multiple email addresses: email_to="first-email-here, second-email-here"
  • Change “From” email header: from_header="your-email-here"
  • Change email subject: subject="your subject here"
  • Change CSS class of form: class="your-class-here"

Field labels:

  • Change name label: label_name="your label here"
  • Change email label: label_email="your label here"
  • Change subject label: label_subject="your label here"
  • Change captcha label: label_captcha="your label here"
  • Change message label: label_message="your label here"
  • Change privacy consent label: label_privacy="your label here"
  • Change submit label: label_submit="your label here"

Field error labels:

  • Change name error label: error_name="your label here"
  • Change email error label: error_email="your label here"
  • Change subject error label: error_subject="your label here"
  • Change captcha error label: error_captcha="your label here"
  • Change message error label: error_message="your label here"

Form messages:

  • Change message when sending fails: message_error="your message here"
  • Change message when sending succeeds: message_success="your message here"
  • Change message in confirmation email when sending succeeds: auto_reply_message="your message here"

Examples:

  • One attribute: [contact email_to="your-email-here"]
  • Multiple attributes: [contact email_to="your-email-here" subject="your subject here" auto_reply="true"]

Widget attributes

The widget supports the same attributes. You don’t have to add the main shortcode tag or the brackets.

Examples:

  • One attribute: email_to="your-email-here"
  • Multiple attributes: email_to="your-email-here" subject="your subject here" auto_reply="true"

List form submissions in dashboard

Via Settings > VSCF you can activate the listing of form submissions in your dashboard.

After activation you will notice a new menu item called “Submissions”.

SMTP

SMTP (Simple Mail Transfer Protocol) is an internet standard for sending emails.

WordPress supports the PHP mail() function by default, but when using SMTP there’s less chance your form submissions are being marked as spam.

You should install an additional plugin for this. You could install for example:

Because I’m not the developer of these SMTP plugins, I will not give support. And use them at your own risk.

Uninstall

If you uninstall plugin via dashboard all form submissions and settings will be removed from database.

All posts of the (custom) post type “submission” will be removed.

You can avoid this via Settings > VSCF.

Question?

Please take a look at the FAQ section.

Vertaling

Not included but plugin supports WordPress language packs.

More translations are very welcome!

Credits

Without the WordPress codex and help from the WordPress community I was not able to develop this plugin, so: thank you!

Enjoy!

Schermafdrukken

  • Very Simple Contact Form (Twenty Nineteen theme).
  • Very Simple Contact Form (Twenty Nineteen theme).
  • Very Simple Contact Form widget (Twenty Nineteen theme).
  • Very Simple Contact Form widget (dashboard).
  • Very Simple Contact Form settingspage (dashboard).
  • Very Simple Contact Form settingspage (dashboard).
  • Very Simple Contact Form settingspage (dashboard).
  • Very Simple Contact Form submissions (dashboard).

Installatie

Please check Description section for installation info.

FAQ

About the FAQ

The FAQ applies to the most recent plugin version, as they are regularly updated to include support for newly added or changed plugin features.

How do I set plugin language?

Plugin will use the website language, set in Settings > General.

If plugin isn’t translated into this language, language fallback will be English.

What is the default admin email address?

By default form submissions will be send to the email address set in Settings > General.

You can change this via Settings > VSCF or by using an attribute.

What is the default email subject?

By default the email subject contains the name of your website, followed by the subject that sender has filled in. If subject field is hidden it only contains the name of your website.

You can change this by using an attribute.

This subject will also be used in the confirmation email to sender.

Why is the “from” email address not from sender?

I have used a default so called “From” email header to avoid form submissions being marked as spam.

Best practice is using a “From” email header (an email address) that ends with your website domain.

That’s why the default “From” email header starts with “wordpress” and ends with your website domain.

You can change this by using an attribute.

Your reply to sender will use another email header, called “Reply-To”, which is the email address that sender has filled in.

How does the captcha work?

The captcha is a random number that changes on submit.

This means if you press submit and form has not been filled in completely or not correctly, the random number is changed and should be filled in again.

Can I display multiple forms on the same page?

Do not add multiple shortcodes on the same page. This might cause a conflict.

But you can display a form by using the shortcode and a form by using the widget, on the same page.

Why does form submission fail?

An error message is displayed if plugin was unable to send form. This might be caused by the settings of your server.

Your hosting provider might have disabled the PHP mail() function of your server. Please contact them for info.

They might advice you to install a SMTP plugin. For more info check the “SMTP” section.

Why am I not receiving form submissions?
  • Please also check the junk/spam folder of your mailbox
  • Check installation info above and check shortcode (attributes) for mistakes
  • Install another contact form plugin to determine whether it’s caused by my plugin or something else
  • In case you’re using a SMTP plugin, please check their settingspage for mistakes
Does this plugin has anti-spam features?

Of course, the native WordPress sanitizing and escaping functions are included.

It also contains 2 hidden honeypot fields and a simple numeric captcha.

Does VSCF meet the conditions of the GDPR?

The General Data Protection Regulation (GDPR) is a regulation in EU law on data protection and privacy for all individuals within the European Union.

I did my best to meet the conditions of the GDPR:

  • You can activate a privacy consent checkbox on form
  • You can disable collection of IP address
  • Form submissions are safely stored in database, similar to how the native posts and pages are stored
  • You can easily delete form submissions
Does this plugin have its own contact form block?

No, it does not have its own contact form block and I’m not planning to add this feature.

Why no Semantic versioning?

At time of initial plugin release I wasn’t aware of the Semantic versioning (sequence of three digits).

How can I make a donation?

You like my plugin and you’re willing to make a donation? Nice! There’s a PayPal donate link at my website.

Other question or comment?

Please open a topic in plugin forum.

Beoordelingen

juli 5, 2019
This is exactly what I was looking for. I was looking for a simple and light on resources contact form plugin. There are times that you only need a couple of fields in your contact form. Well done for developing such a simple contact form. As a token of my appreciation, I will be helping with the Spanish translation. All the best
januari 16, 2019
Simple, easy to style, integrated honeypot, displays submissions on dashboard, amazing plugin for a simple contact form, thanks!
november 22, 2018
Pro - Simple and Clean - lightweight - you can read submissions on dashboard Contra - you cant hide label email, name, message etc. only hide subject field is possible - you cant turn off email function. i only wanna read submissions on my dashboard. i dont need a copy to my mail address.
november 14, 2018
I found this form very easy to use, but one of the biggest problems for our company is that the form is automatically set to send to the site admin. In many businesses, the site admin is not the person who deals with customer service or website inquiries. This just puts added burden on the site admin to review and forward the form submission. As later noted by Guido: There is a workaround to change the email recipient in the short code However, that is not intuitive, and it is not built into the program as most other contact/form plugins have done. So my review remains at three stars.
Lees alle 34 beoordelingen

Bijdragers & ontwikkelaars

“Very Simple Contact Form” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers

“Very Simple Contact Form” is vertaald in 22 talen. Dank voor de vertalers voor hun bijdragen.

Vertaal “Very Simple Contact Form” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

Version 10.6

  • Added extra clearfixes in stylesheet
  • Minor changes in code

Version 10.5

  • Added extra CSS class to each field group
  • This makes form customization much easier

Version 10.4

  • Fix: undefined index

Version 10.3

  • Updated stylesheet

Version 10.2

  • Fix: red border color in case of field error
  • Added setting to hide subject field
  • Removed attributes for hiding subject field and activating confirmation email to sender
  • You should now go the settingspage to set both
  • After some discussion I have decided to remove the max character length of inputs again
  • Removed attributes to change the max character length of form inputs

For all versions please check file changelog.