WordPress.org

Ready to get started?Download WordPress

Forums

Ajaxy Live Search
Validation problem (2 posts)

  1. Jabe
    Member
    Posted 1 year ago #

    Hi!

    I have an other question.

    I had some validation problem with this plugin so in order to fix it, inside sf.php fileI

    1) I added some "m" to "form" in this:
    <label class="screen-reader-text" form="s">

    2)I removed
    container="'.$id.'"

    Now my page validates but I don't know what was it used for?

    Will I have any trouble because of the changes I made?

    The plugin seems to work fine with Firefox.

    Test it with:
    http://validator.w3.org/check

    http://wordpress.org/extend/plugins/ajaxy-search-form/

  2. n-for-all
    Member
    Plugin Author

    Posted 1 year ago #

    the container="'.$id.'" is used to include several search forms on the same page, as for validation, this is not an error if you set your document type for html5, if not and you are using the old markup then w3 will report this as a warning and sometimes an error, however it is not an error and will not cause your website to break in any kind of way.

    to read more about document type and what markup is supported, please check this link.

    http://www.w3schools.com/dtd/default.asp

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic