Support » Plugin: Ninja Forms - The Easy and Powerful Forms Builder » [Plugin: Ninja Forms Lite] W3 Validation

  • I’m trying to clean up the HTML errors on my site and get myself a good score on W3 validation.

    Currently, on my homepage I’m getting 4 errors related to Ninja Forms. I was wondering about how to fix these errors. I’ve looked through the input I’ve done in the WP dashboard already and don’t see anything in there that I can change, this means its in the code.

    Before I go in an break things, I was wondering what could be done about these errors.

    The language attribute on the script element is obsolete. You can safely omit it.
    Code line: <div id="text-22" class="widget scg_widget tjx8k58tw00 widget_text"> <div class="textwidget"><span id='ninja_form_top'></span><script language='javascript'>

    No p element in scope but a p end tag seen.
    </script><h2 class='ninja-forms-title'>Contact Us</h2><p class='ninja-forms-desc'><h3>Form description goes here!</h3></p>

    Bad value for attribute action on element form: Must be non-empty.
    <form name='ninja_form_2' id='ninja_form_2' action='' method='post'>

    The for attribute of the label element must refer to a form control.
    <label class='contact_antispam-label text-label label-left' for='ninja_field_7'>4 + 7 =</label>

    Here is a link to the validation of my homepage.

  • The topic ‘[Plugin: Ninja Forms Lite] W3 Validation’ is closed to new replies.