Hi,

this is my script:

HTML Code:
     <form id="frm1"><fieldset>
                <ul>
                    <li>
                        <label for="name">Name:</label>
                        <input type="text" name="name" />
                    </li>
                    <li>
                        <label for="email">Email:</label>
                        <input type="text" name="email" />  
                    </li>
                     <li>
                        <label for="one">one:</label>
                        <input type="text" name="one" />  
                    </li>
                        <div id="results"><div>
                    <li>
                        <input type="submit" value="submit" />         
                    </li>
                </ul>
           </fieldset>
        </form> 

    jQuery(document).ready(function($){
        $("#frm1").validate({
            debug: false,
            rules: {
                name: "required",
                email: {
                    required: true,
                    email: true
                }
            },
            messages: {
                name: "Please let us know who you are.",
                email: "A valid email will help us get in touch with you.",
            },
            

        });
    });
The script works fine, but I would like to change something.

I would like this:
<input type="text" name="name" />

to change into this:
<input type="text" id="name" />

But when I do this, the validation script does not work.
Is there a way to change this?

Thank you!