Further sys_CheckboxTree woes

Hi

Within our XML tree we have several entries that include commas in the node id and label. I have provided an example below.

<node id="Business, management and law" label="Business, management and law" selectable="yes">

When this, or a similar option with a comma, is selected in the content editor, the value is being passed to the backend table, but the checkbox is not retaining it’s tick. All other options without commas are retaining the ticks.

I think the problem maybe related to the sys_CheckboxTree as it adds one value per entry in the backend table and may think that “Business, management and law” is two values, delimited by the comma, when passing it back to the content editor.

I have tried several methods to get round this, but none of them have worked. Obviously we want to keep these commas as “Business, management and law” is completely different to “Business management and law”, so is there a way round this please?

Thanks and regards

Richard

Try

<node id="1042" label="Business, management and law" selectable="yes">