how do i validate contents of a scanned document that are submiited by the user while filling the form.Validate as in if they are entered correctly and exist sumwhere.