I am using jquery.validate.js plugin for a dialog validation. My problem is that I would like on submit only the first problematic field to get a class and the field error to be displayed as a tip in a fading out div next to the field. (write now the plug in adds labels on every field)

I hope I was clear enough!
Thank you in advance!!!
(if you need anything more please ask for it)
EDIT
The code for it
$("#wdw1003_useraddform").validate({
rules : {
wdw1003_username : {
required : true
},
wdw1003_password : {
required : true
},
wdw1003_fullname : {
required : true
},
wdw1003_email : {
required : true,
email : true
}
},
messages : {
wdw1003_username : {
required : "Field User Name is required"
},
wdw1003_password : {
required : "Password is required"
},
wdw1003_fullname : {
required : "Field Full Name is required"
},
wdw1003_email : {
required : "Field E-mail is required",
email : "Is not a valid e-mail"
}
}
});
EDIT after ankur20us comment
The form is generated with this lines
$form = new Form('useraddform', '#', $id."_");
$form -> setRequired('<img src="images/required.png" alt="Required" align="absmiddle" />', '<img src="images/required.png" alt="Required" align="absmiddle" />' . $trans -> translate('denotes required field'));
$form -> addElement('text', 'username', $trans -> translate('User Name'));
$form -> addElement('password', 'password', $trans -> translate('Password'));
$form -> addElement('text', 'fullname', $trans -> translate('Full Name'));
$form -> addElement('text', 'email', $trans -> translate('E-mail'));
$form -> addElement('select', 'perms', $trans -> translate('Permissions'), array('options' => $perms, 'value' => 'level1'));
$form -> addElement('select', 'status', $trans -> translate('Status'), array('options' => $status, 'size' => "1"));
$form -> addElement('textarea', 'comments', $trans -> translate('Comments'));
$form -> addElement('select', 'lang', $trans -> translate('Language'), array('options' => $langs, 'size' => "1"));
$form -> addElement('submit', 'submit', $trans -> translate('Create User'), array('style' => "clear:both; float:right; margin-right: 8%;"));
The javascript above comes out of these lines
$form -> addRule('username', 'required', $trans -> translate('Field User Name is required'));
$form -> addRule('password', 'required', $trans -> translate('Password is required'));
$form -> addRule('fullname', 'required', $trans -> translate('Field Full Name is required'));
$form -> addRule('email', 'required', $trans -> translate('Field E-mail is required'));
$form -> addRule('email', 'email', $trans -> translate('Is not a valid e-mail'));
So I can not change much!!!
Here is the solution I found. I created a hidden div into my page like this
Then I used showErrors:function(errors) of the jquery.validate API to display the hidden div updating it’s message and positioning it next to the first missing element. and finaly a fadeout.
The final code is below.