Hello!
I need to know if there is anyway i can make a checkbox activate by clicking the text box beside it. Also if I can have the text box and the check box have hover effect at the same time when you hover over just one of them. I would really appreciate a response sooner rather than later but thanks anyways!
Hi Abby!
Both things are possible!
I’ll start from the second question:
Simply put both the checkbox and the text component in a container box and apply all the functionality (including hover) on he box itself.
As for the first question:
Check this checkbox API , you can use the method ‘checked’ for the event of ‘onClick’ of the text box.
Giving you use the container box mentioned above, you can apply it on the container box instead.
Hope it helps!
Best of luck!
Doron.