Title: Duplicate class attributes
Last modified: April 24, 2024

---

# Duplicate class attributes

 *  Resolved [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * (@tim-reeves)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/duplicate-class-attributes/)
 * I’ve inserted two Captchas into a CF7 from like this:
 * [f12_captcha f12_captcha-569 captcha:honey]
   [f12_captcha f12_captcha-61 captcha:
   image]
 * The code created for an input field looks like this:
 * <input **class** **class**“>
 * As you can see, the HTML “class” attribute is used twice, which is an internal
   parse error and the second one will be ignored.
 * Am I doing something wrong, or is this a bug?
 * Thanks for the (otherwise) good plugin! Tim

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Forge12 Interactive GmbH](https://wordpress.org/support/users/forge12/)
 * (@forge12)
 * [2 years ago](https://wordpress.org/support/topic/duplicate-class-attributes/#post-17773231)
 * Hello [@tim-reeves](https://wordpress.org/support/users/tim-reeves/) ,
 * unfortunatelly I was not able to reproduce this error. Are you using the latest
   version of the plugin?
 * Best Regards
   Marc
 *  Thread Starter [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * (@tim-reeves)
 * [2 years ago](https://wordpress.org/support/topic/duplicate-class-attributes/#post-17791275)
 * Hi Marc,
 * thanks for your reply. Yes I am using the latest version, and now I’m not seeing
   the problem. Perhaps it was something to do with my caching plugin compacting
   too much.
 * Cheers, Tim

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Duplicate class attributes’ is closed to new replies.

 * ![](https://ps.w.org/captcha-for-contact-form-7/assets/icon-256x256.png?rev=3135000)
 * [SilentShield – Captcha & Anti-Spam for WordPress (CF7, WPForms, Elementor, WooCommerce)](https://wordpress.org/plugins/captcha-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captcha-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captcha-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/captcha-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captcha-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captcha-for-contact-form-7/reviews/)

## Tags

 * [HTML class](https://wordpress.org/support/topic-tag/html-class/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/duplicate-class-attributes/#post-17791275)
 * Status: resolved