I’ve created a check box list with this input values:
Vino italiano=={{vinoit}}||Vino estero=={{vinoes}}||Liquori e distillati=={{dist}}||Alimentari=={{alim}}||Delicatessen=={{delic}}||Attrezzature=={{attr}}
"Vino italiano=={{vinoit}}" is configured as default value.
In my mind I figured that the result will be:
- "Vino italiano" check box checked by default in the edited document;
- Content of {{vinoit}} outputted on the page (because of the default checked box);
- Nothing on the page if I uncheck all the check boxes.
I was wrong: it outputs "Vino italiano==
contents of chunk" on the page, the "Vino italiano" check box is not checked by default (if I check it the page output is the content of chunk, so it’s right) and everytime I uncheck all the check boxes it starts outputting "Vino italiano==
contents of chunk" again.
What is wrong, this beaviour or my expectations?
Everything is fine if I use "Value" instead of "Name==value" in input value. Basically I can’t declare by default a value from those I’ve declared like "Name==value".
MODx version is 0.9.2.1
PS: mmm... I think I’ve broken around one hundred grammatical rules of English. A record.
If you need I’ll explain further.