Skip Navigation

Cannot use HTML tags as separator when outputting checkboxes field

Open

Topic Tags: Toolset Blocks

Symptoms

When outputting a checkboxes field using a Single Field block there is an option to specify the separator to use between values (a comma by default).

With legacy Views it is possible to use HTML tags such as <br> in the separator, but with Blocks this breaks and nothing is output.

Workaround

The only workaround at the moment is to insert the checkbox field via shortcode rather than using the Single Field block.

Try using a Classic block where there is a Fields and Views button available (the Toolset icon), which will insert the shortcode correctly.

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>