TO view errorDoc generated in FormResult after a process submission



Hi all,

In a process,i use a form which contains some javascript as a part of field validations.Now while i invoke a process(SubmitPDFForm as in LS Workbench)while giving the same form as input(intentionally with some failed validations)..itz not showing up those failed validations messages in errorDoc.?Is it actually that we can see those messages in errorDoc, or does it serves for other purposes also .??

NB:errorDoc:-one of the attributes of FormsResult Complex variable,which is generated after processFormSubmission operation.*/