help with validation error message placement

help with validation error message placement

I'm using the validation plugin, and I'm trying to get the error message for a field failing validation to display above the field. 

here's an example of the markup for a line

<div class="yd-line">
<div class="yd-fielderr"></div>
<div class="yd-label>Field Name</div>
<input type="text" name="fieldname" class="yd-input" value="blah" />
<div class="yd-hint"/>
</div>

markup is such that it displays like     
     Field Name [               ] 

and i would like the error message/messages to be assembled in "yd-fielderr"

Value is required
Value needs to be 3 or more characters
    Field Name [               ]


I've tried MANY different things without success. My last attempt was...
        errorContainer: "div",
        errorLabelContainer: $(this).prev("div.yd-fielderr"),
        wrapper: "li",
        errorClass: "yd-inputerr"  

Please help