Automattic / Automattic/jetpack

[Contact Form] - Quotations breaks contact form options

Open
#9,967 3 comments 0 reactions 0 assignees View on GitHub
[Feature] Forms [Pri] Low [Status] Stale Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Create a new form
2. Select multiple choice options
3. As one of the options, use two set of quotations. For example: "Test" OR "Test" test.
4. Update the form
5. You'll see the form removes the added options

#### What I expected

The form to update with the options I added.

#### What happened instead

The form removes all options for that specific additional question.

Hat tip @melchoyce for finding this :)

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named in the issue. Reproduce the form update with a multiple-choice option containing two quoted sets, then trace where those options are processed; done means the quoted option remains after updating the form.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.