简体   繁体   中英

Error with html post form in internet explorer

I have a html form which posts to a php script. It works fine in chrome and firefox but not in IE. I have ran a test on W3C but can not find any errors that relate to the form. My code is:

<form class="formular" id="formular" method="post" action="script/contact.php"> 
    <fieldset>
        <label>
            <span>Name : </span>
            <input type="text" class="validate['required','length[3,-1]','nodigit'] text-input" name="Name" />
        </label>
        <label>
            <span>Email address : </span>
            <input type="text" class="validate['required','email'] text-input" name="email" />
        </label>
    </fieldset>
    <div class="button">
        <input type="submit" value="Contact" class="submit" />
    </div> 
</form>

Thanks in advance

Form is correct. Looks like wrong handling form on server side. how you catch result?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM