Directory / plugin

Ajax Simple Contact Form

v2.0.0 · by forgeo.dev

A simple, lightweight AJAX contact form with no page reload. HTML emails, reply-to, spam protection, custom fields, and 3 form styles.

About this plugin

Ajax Simple Contact Form is a lightweight, easy-to-use contact form plugin that submits without reloading the page. Just install, configure, and add [ajax_contact_form] to any page or post.

Version 2.0 is a complete rewrite with modern features, improved security, and full WordPress 6.8 compatibility.

✨ What’s New in v2.0

  • HTML email template — professional, beautifully formatted emails in your inbox
  • Reply-To support — clicking reply in your email client goes directly to the sender
  • CC email — send a copy to an additional address
  • Honeypot spam protection — lightweight, no API key required
  • Phone field — optional, with required toggle
  • Subject field — optional, with required toggle
  • Custom field labels — rename any field
  • 3 form styles — Default, Minimal, Bordered
  • Button color picker — match your brand
  • Border radius control — square, rounded, or pill
  • Inline validation — errors show instantly without page reload
  • Multiple forms — place shortcode on multiple pages, all work independently
  • No jQuery dependency — pure vanilla JS, faster loading
  • PHP 8.x compatible
  • WordPress 6.8 compatible

📋 Shortcode

Place anywhere in posts, pages, or widgets:

[ajax_contact_form]

Or in a PHP template:

<?php echo do_shortcode('[ajax_contact_form]'); ?>

⚙️ Admin Settings

All settings under Settings Contact Form:

  • Fields — Toggle name, phone, subject fields. Set required status. Enable honeypot spam protection.
  • Email — Set recipient, email subject, reply-to, CC address, success/error messages.
  • Labels — Customize all field labels and button text.
  • Style — Choose form style, button color, text color, border radius.

Plugin tags