I'm having some problems with a checkbox in a repeater.
My form loads without any of the fields in the repeater showing. The user has to click a button to "add a row" in order to see the repeater fields. That all works great. The other fields in the repeater all work great. However, there is a checkbox in the repeater that misbehaves.
Below are two examples of what I'm seeing. Any ideas what I might be missing here?
(I tried to attach some screenshot of the form display and field settings, but I can't get any of my files or photos to attach here.)
Example 1:
I load the form and click the "add row" button twice to add two rows of my repeater fields. I fill out all the fields in both rows except the checkboxes. I only check the checkbox in the first row.
Debug output:
Example 2:
Same process, but this time I only check the checkbox in the second row.
Debug output:
My form loads without any of the fields in the repeater showing. The user has to click a button to "add a row" in order to see the repeater fields. That all works great. The other fields in the repeater all work great. However, there is a checkbox in the repeater that misbehaves.
Below are two examples of what I'm seeing. Any ideas what I might be missing here?
(I tried to attach some screenshot of the form display and field settings, but I can't get any of my files or photos to attach here.)
Example 1:
I load the form and click the "add row" button twice to add two rows of my repeater fields. I fill out all the fields in both rows except the checkboxes. I only check the checkbox in the first row.
Debug output:
[override] => Array
(
[0] => 1
[1] => 2
)
[skips] => Array
(
[0] => 1
[1] => 2
)
[hide] => 0
Example 2:
Same process, but this time I only check the checkbox in the second row.
Debug output:
[override] => Array
(
[0] => 1
[1] => 2
)
[skips] => Array
(
[0] => 1
[1] => 2
)
[hide] => Array
(
[0] => 1
)