checkboxGroup Problem

I have two problems with checkboxGroup elements.
First can not asign the value to a checkboxGroup, the following sentence is not worked.
$w( “#checkboxGroup1” ).value = [ “Apple Paey” , “Google Pay” , “Paypal” , “Email Pay” ];
Second. can not display the data in the collection with checkboxGroup which is in a repeater. For example. the following is the collection, field payWay is tag type,


I want to display the field payWay at a repeater, see the following, but it is not worked. Hope to get the help.

The spelling of the tags in your value assignment line do not match the actual spelling of the tags in the collection. This line should work:

$w( " #checkboxGroup1 " ).value = [ “Apple Pay” , “Goog Pay” , “payPal” , “Email Pay” ];

When you set up the checkbox group, the value needs to exactly match the way you have it spelled in the payWay field. The label can be different.

Then all you need to do is connect the checkbox group to the payWay field.

Hi anthonyb, Thank you for your answer. Do you mean the font used by spelling?
I use the same checkboxGroup element. I use it to save data into the collection. I also use it to connect to the field in the collection for display. That should not have any spelling problem. Is it right. but why not work. The following is the page I use it to write the data into the collection. You can see the checkboxGroup is the same as in the repeater.

In addition, the assignment statement does not work either. see the following image. Could it be a work environment problem? I use google chrome.

@laizhihong Here’s a screen shot of the point that I’m making:


Why are the choices “Football, Running, and Sailing” in your second screen shot?

@tony-brunsman I envy you very much. But I still don’t know where is wrong?
In the following program, I only have simple assignment statements, but it just doesn’t work. Please help. please check the following.

Please show a screen shot of the Manage Choices dialog for checkboxGroup1?

@tony-brunsman the second question is resolved. I correct the value in checkboxGroup. Now it is worked. Thank you! see the following. But the first question is still remain.
correcting value


displaying data from the collection.

On the relevant website. The checkboxGroup is said to be working.

But in fact it doesn’t work. This issue should be reported to the relevant development team.