Automattic / Automattic/jetpack

Contact form: Send test form button

Open
#40,743 1 comment 0 reactions 0 assignees View on GitHub
[Block] Form [Feature] Forms [Feature] Forms Blocks New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### What

Button on the form block settings above Send email to that will send a test form submission to that email.

### Why

I have received several chats of users thinking the form block is broken because they fill out the form with "test" or gibberish "ifhiuwahgeuwg4y." Our system flags this as spam and the form email is never sent so they assume there is an error. By adding this button we can allow them to easily test and confirm the email so they don't feel the need to come into chat to check on something due to a misunderstanding.

### How

Just a simple button that sends default content for each block in the form block that they have used.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the form block settings and the existing Send email behavior, then trace how submissions are validated and delivered; done means a clearly defined test-submission flow that confirms delivery without being treated as spam.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.