Search
Other Articles Anywhere questions
Forum

Displaying Checkbox custom field display all option not only selected ones

Nicolas OLIVIER's Avatar Nicolas OLIVIER
Hi,
J!5 (last version) AA last version.
We have created a checkboxes field names "services" with option1 = 1 option2=2 etc
We have tested a display with a simple [services]. But when we check even only 1 option in article the front display all choices
I don't see how to write the right condition/loop for displaying only checked/haveavalue row of the field.

Thanks for your help

ps : I don't explain this before because don't know if related, but we use this code in articles_category override file wich is called itself in a articles override file with a loadposition. All other information in the AA called in the loop is ok.
Peter van Westen's Avatar Peter van Westen ADMIN
I cannot reproduce this.
I have a checkbox field ("checkbox-field") with 4 options. In an article I select 2 of them.
Using [checkbox-field] outputs only the names of those 2 options.

Can you reproduce this in a normal article using this syntax for instance?
{article}Services: [services]{/article}
Please post a rating at the Joomla! Extensions Directory
Nicolas OLIVIER's Avatar Nicolas OLIVIER
Thks for your help : issue was the same on an article with auto display of the CF. I've found an bad coded checkbox override in html folder...

Thanks for your help andd sorry for the disturb.

Bye
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription