Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 799 forks source link

Contact Form: When using "Checkbox with multiple items" - commas break checklist #2917

Open csonnek opened 9 years ago

csonnek commented 9 years ago

When setting up a "checkbox with multiple items" field, if there is a comma in one of the fields, it breaks that entry into two lines due to the commas in the shortcode defining each field item.

Example: [contact-field label='Multiple Checkboxes' type='checkbox-multiple' options='I love multiple checkboxes!,I like multiple checkboxes.,Multiple checkboxes are OK,I guess.,I wish I could have had them years ago!,Checkboxes are so last year.,I love Jetpack!'/]

Intended display:

Actual display:

Confirmed that commas have no effect in a single checkbox field entry.

stale[bot] commented 6 years ago

This issue has been marked as stale. This happened because:

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

spncr commented 4 years ago

This is still an issue.

In the editor everything looks fine: Screen Shot 2019-11-23 at 13 05 35

In the live site, however, each comma creates a new line and checkbox: Screen Shot 2019-11-23 at 13 05 12

16865861-hc

formosattic commented 4 years ago

+1 16936438-hc

chickenn00dle commented 4 years ago

Another case here: 2525028-zen

goblinartificer commented 4 years ago

Also in 18883111-hc

macmanx2 commented 4 years ago

Just noting that this is still an issue, even under the Block Editor now.

Here's how it looks in the editor:

Screen Shot on 2020-06-25 at 15-39-36

Here's how it looks in the published post:

Screen Shot on 2020-06-25 at 15-40-08

Reported via https://wordpress.com/forums/topic/block-editor-contact-form-possible-bugs/

stale[bot] commented 3 years ago

This issue has been marked as stale. This happened because:

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.

jordesign commented 3 years ago

Another instance of this in 4000384-zd-woothemes - with someone wanting to add long descriptions (passages of text) into the labels.

It looks like this is something unlikely to be fixed - is this correct?

jeherve commented 3 years ago

It looks like this is something unlikely to be fixed - is this correct?

This is not something we're working on at the moment, but we may get to it some time in the future. If we do, we'll update this issue.