Support » Themes and Templates » “<form name=” is invalid XTML markup

  • i used a dropdown javaScript for archive listing (from here

    <form name="archiveform" action=""><br />
    <select name="archive_chrono" onchange="window.location =<br />
    (document.forms.archiveform.archive_chrono[document.forms.archiveform.archive_chrono.selectedIndex].value);"><br />
    <option value=''>Select Month</option><br />
    <?php get_archives('monthly','','option'); ?><br />
    </select><br />

    and now validator tells me the site isn’t valid xhtml:

    Error Line 109 column 11: there is no attribute "name".
    <form name="archiveform" action="">

    is there any way to make a drop down without submit button and without xhtml syntax errors?

    Thanks 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“<form name=” is invalid XTML markup’ is closed to new replies.