Custom contact forms

The name of the option in the plugin: forms__general_contact_forms_test

Test Form #1: Minimal Contact Form

This is a minimal contact form with only an email field.


Test Form #2: Classic Contact Form

This form contains all the necessary fields: email, name, message.





Test Form #3: Form with Non-Standard Field Names

The plugin should recognize this form despite the non-standard field names.




Test Form #4: Form with Multiple Email Fields

Form with multiple email fields.






Test Form #5: AJAX Form with Backend Handler ✅

The form sends an AJAX request with the parameter action=handle_contact_form, the plugin will intercept the POST data and check for spam, then control will pass to the handler if it exists.




⚠️ Warning:

When spam is blocked, the plugin sends its own response, which most forms cannot display to the user:

{ "apbct": { "blocked": true, "comment": "Reason for blocking" } }

What you will see during testing:

  • Spam request: The form is blocked, but without a clear message, Request blocked — this is normal, the protection worked.
  • Legitimate request + no backend handler: The response will be 0, but in the interface it will still show Request blocked — this means the plugin allowed it, but the form doesn’t know what to do next.

I specifically leave this example for clarity. To show understandable messages to users, the form developer needs to add handling for our response or we need to do integration.

Request details: In the Network tab, filter by Fetch/XHR and find the request to /wp-admin/admin-ajax.php with action=handle_contact_form, open the response and you will see the JSON response from the plugin or 0 due to the absence of a handler.

Test Form #6: Contact Form with Additional Fields

Form with additional fields.







Test Form #7: Contact Form with Checkboxes and Radios

Form with additional field types.




Google Referral Other

Sales Support Partnership