Community forum for knowledge and support

Updated 2 months ago

Changing The Text Color Of Checkbox Labels When Selected

At a glance
The community member is creating an onboarding form and has integrated the formly and finsweet scripts for checkboxes and radio buttons. They are asking how to change the text color of the checkbox label (class: onboarding5_radio-label) to white when the checkbox (class: onboarding5_radio+is-active-inputactive) is selected. The community member has read the finsweet and formly documentation but did not fully understand how to achieve this. They have also provided some Loom videos and a site link related to their project.
Useful resources

Hello, I am currently creating an onboarding form. I have already integrated the formly script and the finsweet script for checkboxes and radiobuttons into my code, and everything is working. However, my question is: how can I make it so that, for example, the text of a checkbox (class: onboarding5_radio-label) also changes and, for instance, turns to white text color when the checkbox (class: onboarding5_radio+is-active-inputactive) is selected? I have already read the finsweet and formly documentation, but unfortunately, I didn't fully understand it. Perhaps someone could explain to me how to do this.

loom-videos

https://www.loom.com/share/d8b868f1ee3b4242ac2dd91210e3778f?sid=17b34c56-5ff2-4c2a-87b0-db52caa95232


https://www.loom.com/share/b00bdbcb14444ad080bc4f0cb6f6d743?sid=01e43fcc-3208-4e01-9618-3eee690bc9f3

site-link

https://preview.webflow.com/preview/career-profiler-coach?utm_medium=preview_link&utm_source=designer&utm_content=career-profiler-coach&preview=3f2c214b099e8bd85de49bde4fbdb506&pageId=6751a7a2b54c21102821025e&workflow=preview

Add a reply
Sign up and join the conversation on Slack