[jQuery] [validate] - Strange problem with validations - fields disappear

[jQuery] [validate] - Strange problem with validations - fields disappear


Hi,
I am facing really strange problem with validation plugin.
Following is the code I am using:
-----------------------
<script type="text/javascript" language="javascript">
$(document).ready(function() {
    $("#designform").validate({
        errorClass: "show_error",
        wrapper: "li"
    });
});
</script>
-----------------------
Basicaly I am trying to wrap error in list element so it can fit well
in my design. It works fine at the time of showing the error but once
the value in invalid field has been entered, thet whole field
disappears. I think it is because my elements are also wrapped in LI
and the plugin sets display of LI as non once the field gets
validated.
Following is my HTML code:
--------------------------------
<li><span>First Name :</span><input name="first_name" type="text"
id="first_name" class="inputText required" /></li>
<li><span>Last Name :</span><input name="last_name" type="text"
id="last_name" class="inputText required" /></li>
--------------------------------
I would appriciate if anyone can throw some light on this issue.
Regards,
Deep