hey. ive tried to change the error div instad of 
<label class="error"></label>
to 
<span class="error></span>


last time i got an answer that saies to put 
<label for="a">title</label>
<input id="a" ........>
<label for="a">error</label>

its doesnt make sense ... 





here is the code:
<label for='MyForm1nicknameInputfield'> nickname1 <em>*</em></label><input
name='nickname' type='text' id='MyForm1nicknameInputfield' value='am'
maxlength='45'/><label class="error" for="nickname"></label>
var v = $("#MyForm1").validate({        rules: { MyForm1nicknameInputfield: {
minLength: 12, required: true, maxLength: 45 }},                        
submitHandler:
function(form) {
                


i saw the api, but i dont get it, there are some duplicate label with
diffrent error messages. i need one div to echo one error per field , and if
the field got 2 errors then show the first error and if its fixed then show
the secound  error...
 
anyone can guide me how to do it? 
-- 
View this message in context: 
http://www.nabble.com/forms-validation-error-divs---help-tf3389341.html#a9434127
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to