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.
On the relevant website. The checkboxGroup is said to be working.
https://www.wix.com/corvid/reference/$w/checkboxgroup/value
But in fact it doesn't work. This issue should be reported to the relevant development team.
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.
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.