Skip Navigation

[Resolved] Separator in checkboxes doesn't work when output=normal

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 6 replies, has 2 voices.

Last updated by nicolaS-3 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2554915

Hi
FYI when displaying checkboxes value in a Field and Text block with output=normal the separator doesn't work, no separator is added, whatever it is. I'd add that there is no way I could find to reopen the Display Option/ Custom values window once it has been saved, other than deleting the field, reselect it and retype all values (if they are many it's annoying). I would expect at least that all fields are pre-filled with values specified in the checkboxes field definitions.
Regards
Nicola

#2555075

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I just checked and when I add the checkboxes field with normal output I can see the separator is added. For example:

[types field='venue-phase' separator='/'][/types]

Do you mean you are adding manual values for checked options and at that time the separator is not available?

#2555323
minesh.jpg

Hello Minesh,
I am actually talking about the Field and text BLOCK, not shortcode. See the picture. The separator is set to comma+space, but it doesn't appear in the text (it does if I select Raw values).
thanks

#2555535

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I'm not sure why I cant see that option on Advance tab on sidebar.

Here is a sandbox site and you can auto-login to it using the following link:
- hidden link

I've created the Venue Phase custom checkboxes field as you can see with the following custom field group:
- hidden link

With the following post both the checkboxes options are set:
- hidden link

Here is the content template that displays the single venue post - can you please try to add the checkboxes field and see if you can see the same issue:
- hidden link

#2555851
minesh2.jpg

Hi Minesh,
In your sandbox I created a new page called Nicola's page. In order to see the Custom items widget on the left you have to select Custom items after selecting the field in the Field and text block and add your custom items labels (I added phase1 and phase1). As you can see from the picture attached, the venue Rockfeller Tower shows the issue. The separator is comma but it's not rendered in the view neither in the editor.
Other than that, if you want to edit any custom items there is no way you can reopen the custom item window other than deleting the field and reselecting it, but in this case all custom items go lost.
Regards
Nicola

#2558547

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Ok - I got it what you say and we will try to improve this and will take a note of this.

But for now you will have to adjust the separator manually when you used shortcode for checked items as given under:

<p>[types field='venue-phase' state="checked" option="0"]phase1[/types][types field='venue-phase' state="checked" option="1"]phase2[/types]</p>
#2558609

My issue is resolved now. Thank you!