• Resolved perosak

    (@perosak)


    Hi, I would like to report a small error regarding CSS with the latest update on CF7 5.8, I believe. Im not that expert with this but I hope you guys can take a look and probably give some ideas.

    The Problem: I use Conditional Field on 2 Contact Form Fields (checkboxes) with the same ID class. 1) Hadir 2) Tidak Hadir, which both are registered with the same ID class in Contact Form. I have styled the checkbox to turn it into a button from a normal checkbox. Sadly, After the latest Contact Form 7 update, only 1 field applied the ID class (Hadir) and another 1 field (Tidak Hadir) did not apply the class which is a bit weird because both are registered with the same ID class.

    Current Solution: I just rollback Contact Form 7 to the previous version and its done, but still want you guys to take a look at this for better version of Conditional Fields plugin. Thanks!

    Please have a look on the link provided.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, I have noticed the same issue. After the update to v2.3.10, all the ID attributes that I have added to the CF7 elements don’t show in the HTML, which in turn stops scripts and CSS that rely on those IDs.
    As @perosak mentions, rolling back to previous version is the only solution for now.
    Would be great to have this resolved soon please.
    As a sweetner, I love your plugin and it has been perfect to use. This is the first time I’ve come across an issue with it. ??

    Actually, sorry, I was a bit hasty with my first message.
    The issue is not caused by your plugin. It was caused by the CF7 update to v5.8 where duplicate ID get ignored. I had duplicate forms rendering then removing unneeded forms after page load, which was causing the updated CF7 to ignore the IDs on my forms. I have fixed my form loading process to only render the required form in the first instance and after testing with your plugin update (and the updated CF7), all is good.
    My apologies for wrongly blaming your plugin.

    @perosak , it sounds like your duplicate ID is getting ignored by CF7 (if you are on v5.8). I think you will need to look at using unique IDs on your checkboxes and adjusting your styling to include the additional ID.

    Plugin Author Jules Colle

    (@jules-colle)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Small Error on CF7 latest update’ is closed to new replies.