Checkbox Collapses Input Field Inside Repeater

Hello.

I have a checkbox and an input field both inside a repeater.

I want the input field to collapse when the checkbox is checked and expand when it is not.

Any suggestions?

Thank you.

Hello,

You can use conditional statements , checked property of the CheckBox element and collapse() function in order to implement it.

https://www.wix.com/corvid/reference/$w.Checkbox.html#checked
https://www.wix.com/corvid/reference/$w.CollapsedMixin.html#collapse