Lightweight Contact Form

Description

This is the absolute lightest contact form for WordPress. This plugin is designed for the fastest pagespeed. So, there is no settings page, no CSS stylesheet, no extra files, and no overhead.

If all you need is a simple contact form to take messages from site visitors, and fast page speed is your priority, this minimal plugin is for you.

Although this form is lightweight and simple, it blocks SPAM, and has both client-side and server-side validation. This is a solid and dependable contact form.

Features

  • No settings. Emails are sent to the admin email which is set in your WordPress General Settings.
  • Add the contact form to any page with a shortcode.
  • Both JavaScript client-side and PHP server-side validation.
  • No CSS included. This is for the most lightweight footprint.
  • It’s just one file. No extra CSS or JavaScript files.

You must add any CSS styling yourself. This is easy and is explained in the installation guide.

(In addition, if you need extra fields or different forms for different pages, see the Advanced: Add Custom Form Fields section.)

Screenshots

  • This is how the contact form appears using the default WordPress theme.

Installation

Install and Activate

  1. Install and activate the plugin in your WordPress dashboard by going to Plugins –> Add New.
  2. Search for “Lightweight Contact Form” to find the plugin.
  3. When you see “Lightweight Contact Form,” click “Install Now” to install the plugin.
  4. Click “Activate” to activate the plugin.

Quick Setup

Add the contact form to any page with this shortcode:

[lcf_contact_form]

Optionally, add these CSS styles to align the form fields.

That is all. Now you have a lightweight, working contact form on your WordPress site. When someone fills out and submits your contact form, it will be sent to the admin email which is set in your WordPress General Settings.

To try the contact form, visit that page on your site.

(If you need extra fields or different forms for different pages, see the Advanced: Add Custom Form Fields section.)

FAQ

None yet.

Installation Instructions

Install and Activate

  1. Install and activate the plugin in your WordPress dashboard by going to Plugins –> Add New.
  2. Search for “Lightweight Contact Form” to find the plugin.
  3. When you see “Lightweight Contact Form,” click “Install Now” to install the plugin.
  4. Click “Activate” to activate the plugin.

Quick Setup

Add the contact form to any page with this shortcode:

[lcf_contact_form]

Optionally, add these CSS styles to align the form fields.

That is all. Now you have a lightweight, working contact form on your WordPress site. When someone fills out and submits your contact form, it will be sent to the admin email which is set in your WordPress General Settings.

To try the contact form, visit that page on your site.

(If you need extra fields or different forms for different pages, see the Advanced: Add Custom Form Fields section.)

Contributors & Developers

“Lightweight Contact Form” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.4.1, 2017-10-02

  • Fixed – Running submission checks outside a function.
  • Fixed – Proper escaping.

1.4, 2017-09-28

  • New – Internationalize all strings to add support for translations.
  • New – Remove jQuery dependency.

1.3, 2017-09-26

  • New – New filters allow insertion of custom fields.
  • New – Add shortcode atts for message_label.
  • New – Move form url to top in email message.
  • Fix – Fixed HTML typo in email and math fields.

1.2, 2017-03-23

  • New – Eliminated the jQuery Validation plugin in favor of some smaller jQuery validation for the form fields. This eliminates the need for an extra file.

1.1, 2017-03-22

  • New – Removed the mandatory step.

1.0, 2017-02-11

  • New – Removed fieldset elements for better mobile style.

0.9, 2016-11-20

  • New – Remove max-length from textarea.

0.8.1, 2015-08-08

  • New – Remove redundant date from email.

0.8, 2015-08-08

  • Initial public release.