corrected a few bug:form Error init as object and not array,error on the required validation