Strange problem when using validation plugin
Hi,
I'm using validator plugin (jquery.validate.min.js) to validate form fields.
my form is built like this:
Copy code
-
<form action="<?php echo $base_url;?>create" method="post">
<div id="formstyle_editeven">
<ul> <li class="first">Name:</li> <li class="required"><img src="<?php echo $base_url;?>assets/css/images/asterik.gif" /></li> <li><input name="name" type="text" class="mform" value="<?php echo set_value('name');?>"/></li> </ul>
</div></form>
(this is a shortened version, but u get the idea).
when i try to validate the form using the validation plugin, instead of showing the error message, the name field
disappears!
Is it related to the fact that the form is built like this (div>ul>li) and not the usual way?
BTW, i forgot to mention that this form is displayed in a modal dialog (supplied by JqueryUI), not sure if it's related to anything though