Home › Forums › Front-end Issues › If checkbox ticked then add a class › Reply To: If checkbox ticked then add a class
Thanks for your reply @barrycrous.
Having the True/False option was a better idea. I’ve also changed it so instead of having to select true/false on every single video. You just choose under each director (true/false now named: ‘dir_signed’).
Unfortunately, the modal is added using Javascript’s ‘prepend’. This is why I was hoping to check True/False separately. And then add a class to the ‘lity-info’ <div> if it was true. Like: <div class=”lity-info istrue”>
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.