Automattic / Automattic/jetpack

Enhancement: support line breaks in Response for Multiple Choice Checkbox

Open
#43,672 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Forms [Plugin] Jetpack [Pri] Normal Enhancement
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Impacted plugin

Jetpack

### What

The spacing in the form response should include line breaks for each checkbox item.

### How

When a new form is created, multiple choice items appear on separate lines in the form (both front and backend), however when the form submissions are viewed, either in the feedback area of wp-admin, or in the email that is sent, the items appear all on the same line, with commas separating them, making the results more difficult to read.

Example of form:

![Image](https://github.com/user-attachments/assets/0dbd2b3f-aece-4000-8b09-973745c4e47e)

Example of results in the feedback section (and similar display in automated emails that are sent):

![Image](https://github.com/user-attachments/assets/a2a160f6-e81c-4283-9642-ceb0d106f64e)

### Requested results

Display checkbox items on separate lines in feedback and email results.

Closest related open issue found: https://github.com/Automattic/jetpack/issues/41428

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a Jetpack multiple-choice checkbox submission and compare its display in the wp-admin feedback area with the automated email result. Trace the response formatting used by both views; done means each checkbox item appears on its own line in feedback and email results.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.