Title: html error
Last modified: September 1, 2016

---

# html error

 *  [timholz](https://wordpress.org/support/users/timholz/)
 * (@timholz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/html-error-9/)
 * Hi
    Proposition: The for attribute of the label should refer to an input id of
   the same name. If not, there will be an html error. I added to wdff-text.php 
   input line 234:
 * `id="<?php echo esc_attr( $field["name"] . $name_index ); ?>"`
 * This html error is gone.
 * Some other errors:
    - Error: The cellspacing attribute on the table element is obsolete
    - Error: Attribute wccpf-type not allowed on element input at this point.
    - Error: Attribute wccpf-pattern not allowed on element input at this point.
    - Error: Attribute wccpf-mandatory not allowed on element input at this point.
 * Is it possible to change the attribute names?
    (i deleted the cellspacing)
 * regards
    theo
 * [https://wordpress.org/plugins/wc-fields-factory/](https://wordpress.org/plugins/wc-fields-factory/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * (@mycholan)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/html-error-9/#post-7663267)
 * Hi thanks for posting your findings. I will updated it ASAP.
 * Regards
    Sark

Viewing 1 replies (of 1 total)

The topic ‘html error’ is closed to new replies.

 * ![](https://ps.w.org/wc-fields-factory/assets/icon-128x128.jpg?rev=2738843)
 * [WC Fields Factory](https://wordpress.org/plugins/wc-fields-factory/)
 * [Support Threads](https://wordpress.org/support/plugin/wc-fields-factory/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-fields-factory/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-fields-factory/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-fields-factory/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Saravana Kumar K](https://wordpress.org/support/users/mycholan/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/html-error-9/#post-7663267)
 * Status: not resolved