Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2007
    Posts
    284
    Plugin Contributions
    0

    Default HTML Validating Error: The id value [ navMainSearch ] must be unique

    What does this error means

    The id value [ navMainSearch ] must be unique

    It refers to this line

    HTML Code:
    <div id="navMainSearch" class="forward"><form name="quick_find_header" action="https://www.DomainName.com/index.php?main_page=search_result" method="get"><input type="hidden" name="main_page" value="search_result"><input type="hidden" name="search_in_description" value="1"><input type="text" name="keyword" size="6" maxlength="30" style="width: 100px" placeholder="Search" aria-label="Search" >&nbsp;<input class="cssButton submit_button button  button_search" onmouseover="this.className='cssButtonHover  button_search button_searchHover'" onmouseout="this.className='cssButton submit_button button  button_search'" type="submit" value="Search"></form></div>
    Any Ideas? Thanks.

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: HTML Validating Error: The id value [ navMainSearch ] must be unique

    it means that if you do a view source on your page, you'll see there are *two* (or more!) divs which have id="navMainSearch".
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    201
    Plugin Contributions
    7

    Default Re: HTML Validating Error: The id value [ navMainSearch ] must be unique

    The real question would be why? But it is impossible to answer witout more information like file name, ZC version, is it in a plugin or ZC core...?

  4. #4
    Join Date
    Feb 2007
    Posts
    284
    Plugin Contributions
    0

    Default Re: HTML Validating Error: The id value [ navMainSearch ] must be unique

    Quote Originally Posted by swguy View Post
    it means that if you do a view source on your page, you'll see there are *two* (or more!) divs which have id="navMainSearch".
    Thanks Scott. I found a few of them in the tpl_header.php, i commented out one of them since the other ones in an if statement and that cleared the error.
    <!--<div id="navMainSearch" class="forward">
    </div>-->

    Thanks again.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,291
    Plugin Contributions
    125

    Default Re: HTML Validating Error: The id value [ navMainSearch ] must be unique

    Good job! Glad you were successful in clearing out this issue.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Validating html code
    By ben harry in forum General Questions
    Replies: 3
    Last Post: 15 Sep 2013, 12:46 PM
  2. v151 7 Field format error: 10444-The transaction currency specified must be the same...
    By Buffoon in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 15 Nov 2012, 05:25 PM
  3. Checkout Error Message: ORDERID PROVIDED MUST BE UNIQUE...
    By bettysue in forum General Questions
    Replies: 0
    Last Post: 18 Mar 2009, 02:57 PM
  4. aligning the navMainsearch?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 24 Feb 2009, 09:23 AM
  5. Problems validating my HTML with ampersands in define pages
    By paulspiller in forum Customization from the Admin
    Replies: 18
    Last Post: 27 Aug 2008, 02:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR